[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / Driver / entry.s
blob60ab89704c3546261ceaef3239bb3f5170e94902
1 /// To prevent mistaking -exxx as --entry=xxx, we allow -e xxx but reject -exxx.
2 /// GCC -export-dynamic is rejected as well.
3 // RUN: not %clang -### --target=x86_64-linux-gnu -export-dynamic %s 2>&1 | FileCheck %s
5 // CHECK: error: unknown argument: '-export-dynamic'