blob: 60ab89704c3546261ceaef3239bb3f5170e94902 [file] [log] [blame]
/// To prevent mistaking -exxx as --entry=xxx, we allow -e xxx but reject -exxx.
/// GCC -export-dynamic is rejected as well.
// RUN: not %clang -### --target=x86_64-linux-gnu -export-dynamic %s 2>&1 | FileCheck %s
// CHECK: error: unknown argument: '-export-dynamic'