summaryrefslogtreecommitdiff
path: root/clang/test/CXX/temp/temp.spec/temp.expl.spec/p10.cpp
blob: b81c1e7b2c8fd09cd0c555c12751283f66f309ab (about) (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -fsyntax-only -verify %s

template<class T> class X; 
template<> class X<int>; // expected-note{{forward}}
X<int>* p; 

X<int> x; // expected-error{{incomplete type}}