summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2014-01-01 00:37:42 +0000
committerdim <dim@FreeBSD.org>2014-01-01 00:37:42 +0000
commitfcddf668e724f57e5d75dc641bba534c6a21cd0d (patch)
tree6093927642346f0672b480cbc4b6c2a1b26b8a64 /test
parent952eddef9aff85b1e92626e89baaf7a360e2ac85 (diff)
downloadFreeBSD-src-fcddf668e724f57e5d75dc641bba534c6a21cd0d.zip
FreeBSD-src-fcddf668e724f57e5d75dc641bba534c6a21cd0d.tar.gz
Vendor import of clang RELEASE_34/final tag r197956 (effectively, 3.4 release):
https://llvm.org/svn/llvm-project/cfe/tags/RELEASE_34/final@197956
Diffstat (limited to 'test')
-rw-r--r--test/Parser/recovery.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/Parser/recovery.cpp b/test/Parser/recovery.cpp
index b5b0948..4bed257 100644
--- a/test/Parser/recovery.cpp
+++ b/test/Parser/recovery.cpp
@@ -119,3 +119,9 @@ void MissingSemiInFunction() {
struct Inner4 {} // ok, no missing ';' here
Inner5;
}
+
+namespace PR17084 {
+enum class EnumID {};
+template <typename> struct TempID;
+template <> struct TempID<BadType> : BadType, EnumID::Garbage; // expected-error{{use of undeclared identifier 'BadType'}}
+}
OpenPOWER on IntegriCloud