From 33fa48314f06936f83859852feb3c0ce68b08c0c Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 1 Jan 2014 00:37:42 +0000 Subject: 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 --- test/Parser/recovery.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'test/Parser/recovery.cpp') diff --git a/test/Parser/recovery.cpp b/test/Parser/recovery.cpp index b5b09484ad9ed..4bed2570fcbaf 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 struct TempID; +template <> struct TempID : BadType, EnumID::Garbage; // expected-error{{use of undeclared identifier 'BadType'}} +} -- cgit v1.2.3