]> granicus.if.org Git - clang/commitdiff
fix test. it now crashes, but thats another problem..
authorNuno Lopes <nunoplopes@sapo.pt>
Tue, 18 Nov 2008 17:57:01 +0000 (17:57 +0000)
committerNuno Lopes <nunoplopes@sapo.pt>
Tue, 18 Nov 2008 17:57:01 +0000 (17:57 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59537 91177308-0d34-0410-b5e6-96231b3b80d8

test/Preprocessor/diag_crash.c

index ee169df8a9a03c6249958fb476a2e573578830d8..eee80749dac9e2c4fdc6e15fb7ca7fe753547862 100644 (file)
@@ -1,3 +1,3 @@
-// RUN: clang -E %s
-#ifdef FOO
+// RUN: clang -E -verify %s
+#ifdef FOO // expected-error {{unterminated conditional directive}}
 /* /* */