[cfe-commits] r61370 - in /cfe/trunk/test/SemaCXX: constructor.cpp pr-3188.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Tue Dec 23 08:41:49 PST 2008


Author: cornedbee
Date: Tue Dec 23 10:41:32 2008
New Revision: 61370

URL: http://llvm.org/viewvc/llvm-project?rev=61370&view=rev
Log:
Merge pr-3188.cpp into constructor.cpp.

Removed:
    cfe/trunk/test/SemaCXX/pr-3188.cpp
Modified:
    cfe/trunk/test/SemaCXX/constructor.cpp

Modified: cfe/trunk/test/SemaCXX/constructor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/constructor.cpp?rev=61370&r1=61369&r2=61370&view=diff

==============================================================================
--- cfe/trunk/test/SemaCXX/constructor.cpp (original)
+++ cfe/trunk/test/SemaCXX/constructor.cpp Tue Dec 23 10:41:32 2008
@@ -27,3 +27,13 @@
 extern const Anon anon;
 extern "C" const Anon anon2;
 
+// PR3188: The extern declaration complained about not having an appropriate
+// constructor.
+struct x;
+extern x a;
+
+// A similar case.
+struct y {
+  y(int);
+};
+extern y b;

Removed: cfe/trunk/test/SemaCXX/pr-3188.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/pr-3188.cpp?rev=61369&view=auto

==============================================================================
--- cfe/trunk/test/SemaCXX/pr-3188.cpp (original)
+++ cfe/trunk/test/SemaCXX/pr-3188.cpp (removed)
@@ -1,3 +0,0 @@
-// RUN: clang -fsyntax-only %s
-struct x;
-extern x a;





More information about the cfe-commits mailing list