diff options
Diffstat (limited to 'clang/test/Driver/clang-g-opts.c')
-rw-r--r-- | clang/test/Driver/clang-g-opts.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Driver/clang-g-opts.c b/clang/test/Driver/clang-g-opts.c new file mode 100644 index 0000000..4dbdf61 --- /dev/null +++ b/clang/test/Driver/clang-g-opts.c @@ -0,0 +1,5 @@ +// RUN: %clang -S -v -o %t %s 2>&1 | not grep -w -- -g +// RUN: %clang -S -v -o %t %s -g 2>&1 | grep -w -- -g +// RUN: %clang -S -v -o %t %s -g0 2>&1 | not grep -w -- -g +// RUN: %clang -S -v -o %t %s -g -g0 2>&1 | not grep -w -- -g +// RUN: %clang -S -v -o %t %s -g0 -g 2>&1 | grep -w -- -g |