xref: /llvm-project/clang/test/SemaCXX/rdar42746401.cpp (revision 6898d8413ff4af205000eab1db3fa900b39c6097)
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
3 template <int>
4 class b;
5 class c; // expected-note{{forward declaration}}
6 
7 ::b<0> struct c::d // expected-error{{incomplete type}} expected-error{{expected unqualified-id}}
8