llvm-for-llvmta/tools/clang/test/SemaCXX/rdar42746401.cpp

8 lines
250 B
C++
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
template <int>
class b;
class c; // expected-note{{forward declaration}}
::b<0> struct c::d // expected-error{{incomplete type}} expected-error{{cannot combine}} expected-error{{expected unqualified-id}}