Author: andersca
Date: Fri Jul 10 20:00:52 2009
New Revision: 75327

URL: http://llvm.org/viewvc/llvm-project?rev=75327&view=rev
Log:
Fix a test.

Modified:
    cfe/trunk/test/SemaCXX/auto-cxx0x.cpp

Modified: cfe/trunk/test/SemaCXX/auto-cxx0x.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/auto-cxx0x.cpp?rev=75327&r1=75326&r2=75327&view=diff

==============================================================================
--- cfe/trunk/test/SemaCXX/auto-cxx0x.cpp (original)
+++ cfe/trunk/test/SemaCXX/auto-cxx0x.cpp Fri Jul 10 20:00:52 2009
@@ -1,5 +1,5 @@
 // RUN: clang-cc -fsyntax-only -verify %s -std=c++0x
 void f() {
-  auto int a; // expected-error{{cannot combine with previous 'auto' 
declaration specifier}}
+  auto int a; // expected-error{{cannot combine with previous 'auto' 
declaration specifier}} // expected-error{{declaration of variable 'a' with 
type 'auto' requires an initializer}}
   int auto b; // expected-error{{cannot combine with previous 'int' 
declaration specifier}}
 }


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to