llvm/clang/test/Driver/entry.s

/// 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'