xref: /minix3/external/bsd/llvm/dist/clang/test/Driver/fcomment-block-commands.c (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
1 // Check that we pass -fcomment-block-commands to frontend.
2 //
3 // RUN: %clang -c %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-NO-ARG
4 // RUN: %clang -c %s -fcomment-block-commands=Foo -### 2>&1 | FileCheck %s --check-prefix=CHECK-ARG
5 //
6 // CHECK-ARG: -fcomment-block-commands=Foo
7 //
8 // CHECK-NO-ARG-NOT: -fcomment-block-commands=
9