Clang Project

clang_source_code/test/SemaCXX/rdar42746401.cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3template <int>
4class b;
5class c; // expected-note{{forward declaration}}
6
7::b<0> struct c::d // expected-error{{incomplete type}} expected-error{{cannot combine}} expected-error{{expected unqualified-id}}
8