diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2014-01-01 00:37:42 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2014-01-01 00:37:42 +0000 |
commit | 33fa48314f06936f83859852feb3c0ce68b08c0c (patch) | |
tree | 6093927642346f0672b480cbc4b6c2a1b26b8a64 /test | |
parent | bfef399519ca9b8a4b4c6b563253bad7e0eeffe0 (diff) |
Notes
Diffstat (limited to 'test')
-rw-r--r-- | test/Parser/recovery.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <typename> struct TempID; +template <> struct TempID<BadType> : BadType, EnumID::Garbage; // expected-error{{use of undeclared identifier 'BadType'}} +} |