[cfe-commits] r50388 - /cfe/trunk/test/Sema/cxx-namespace.cpp

Ted Kremenek kremenek at apple.com
Mon Apr 28 21:43:50 PDT 2008


Author: kremenek
Date: Mon Apr 28 23:43:50 2008
New Revision: 50388

URL: http://llvm.org/viewvc/llvm-project?rev=50388&view=rev
Log:
Convert CFLF to LF.  CRLF was causing this test to fail under Mac OS X.

Modified:
    cfe/trunk/test/Sema/cxx-namespace.cpp

Modified: cfe/trunk/test/Sema/cxx-namespace.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/cxx-namespace.cpp?rev=50388&r1=50387&r2=50388&view=diff

==============================================================================
--- cfe/trunk/test/Sema/cxx-namespace.cpp (original)
+++ cfe/trunk/test/Sema/cxx-namespace.cpp Mon Apr 28 23:43:50 2008
@@ -1,15 +1,15 @@
-// RUN: clang -fsyntax-only -verify %s 
-namespace A { // expected-error {{error: previous definition is here}}
-  int A;
-  void f() { A = 0; }
-}
-
-void f() { A = 0; } // expected-error {{error: unexpected namespace name 'A': expected expression}}
-int A; // expected-error {{error: redefinition of 'A' as different kind of symbol}}
-class A; // expected-error {{error: redefinition of 'A' as different kind of symbol}}
-
-class B; // expected-error {{error: previous definition is here}}
-namespace B {} // expected-error {{error: redefinition of 'B' as different kind of symbol}}
-
-void C(); // expected-error {{error: previous definition is here}}
-namespace C {} // expected-error {{error: redefinition of 'C' as different kind of symbol}}
+// RUN: clang -fsyntax-only -verify %s 
+namespace A { // expected-error {{error: previous definition is here}}
+  int A;
+  void f() { A = 0; }
+}
+
+void f() { A = 0; } // expected-error {{error: unexpected namespace name 'A': expected expression}}
+int A; // expected-error {{error: redefinition of 'A' as different kind of symbol}}
+class A; // expected-error {{error: redefinition of 'A' as different kind of symbol}}
+
+class B; // expected-error {{error: previous definition is here}}
+namespace B {} // expected-error {{error: redefinition of 'B' as different kind of symbol}}
+
+void C(); // expected-error {{error: previous definition is here}}
+namespace C {} // expected-error {{error: redefinition of 'C' as different kind of symbol}}





More information about the cfe-commits mailing list