diff options
Diffstat (limited to 'clang/test/Driver/invalid-o-level.c')
-rw-r--r-- | clang/test/Driver/invalid-o-level.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/Driver/invalid-o-level.c b/clang/test/Driver/invalid-o-level.c new file mode 100644 index 0000000..d5242c7 --- /dev/null +++ b/clang/test/Driver/invalid-o-level.c @@ -0,0 +1,4 @@ +// RUN: not %clang_cc1 %s -O900 2> %t.log +// RUN: FileCheck %s -input-file=%t.log + +// CHECK: invalid value '900' in '-O900' |