r225515 - Fix test from my previous commit

Olivier Goffart ogoffart at woboq.com
Fri Jan 9 01:42:33 PST 2015


Author: ogoffart
Date: Fri Jan  9 03:42:32 2015
New Revision: 225515

URL: http://llvm.org/viewvc/llvm-project?rev=225515&view=rev
Log:
Fix test from my previous commit

(I should have re-run the test after running clang-format)

Modified:
    cfe/trunk/test/Sema/typo-correction.c

Modified: cfe/trunk/test/Sema/typo-correction.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/typo-correction.c?rev=225515&r1=225514&r2=225515&view=diff
==============================================================================
--- cfe/trunk/test/Sema/typo-correction.c (original)
+++ cfe/trunk/test/Sema/typo-correction.c Fri Jan  9 03:42:32 2015
@@ -19,7 +19,7 @@ struct ContainerStuct {
 
 void func(int arg) {
   switch (arg) {
-  case SOME_ENUM_:
-    ; // expected-error {{use of undeclared identifier 'SOME_ENUM_'; did you mean 'SOME_ENUM'}}
+  case SOME_ENUM_: // expected-error {{use of undeclared identifier 'SOME_ENUM_'; did you mean 'SOME_ENUM'}}
+    ;
   }
 }





More information about the cfe-commits mailing list