diff --git a/clang/test/SemaCXX/constructor.cpp b/clang/test/SemaCXX/constructor.cpp index 786d1451e62d..536593d5120a 100644 --- a/clang/test/SemaCXX/constructor.cpp +++ b/clang/test/SemaCXX/constructor.cpp @@ -27,3 +27,13 @@ typedef struct { 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; diff --git a/clang/test/SemaCXX/pr-3188.cpp b/clang/test/SemaCXX/pr-3188.cpp deleted file mode 100644 index 7d86240ef596..000000000000 --- a/clang/test/SemaCXX/pr-3188.cpp +++ /dev/null @@ -1,3 +0,0 @@ -// RUN: clang -fsyntax-only %s -struct x; -extern x a;