summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/rdar42746401.cpp
blob: ff9dff456ce470317b6a1ba7bbe8ae474b155770 (plain)
1
2
3
4
5
6
7
// 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}}
OpenPOWER on IntegriCloud