Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
006105d5a8c6565018e4e2a25860d4a7f4c7f4a6
/
.
/
test
/
SemaTemplate
/
template-decl-fail.cpp
blob: b136f6279d52d8bbc79dd83844b68a918a0be309 [
file
] [
log
] [
blame
]
Douglas Gregor
e542c86
2009-06-23 23:11:28 +0000
[
diff
] [
blame
]
1
// RUN: clang-cc -fsyntax-only -verify %s
2
3
template
<
typename
T
>
typedef
T X
;
// expected-error{{typedef cannot be a template}}