xref: /llvm-project/clang/test/Driver/fprofile-sample-use.c (revision ba7cc955662cfebb614c6a37a7341ba6072a0b70)
1 /// GCC -fauto-profile (without =) is rejected.
2 /// -fprofile-sample-use without = is rejected as well.
3 // RUN: not %clang -### -S -fauto-profile -fprofile-sample-use %s 2>&1 | FileCheck %s --check-prefix=ERR
4 // ERR: error: unknown argument: '-fauto-profile'
5 // ERR: error: unknown argument: '-fprofile-sample-use'
6