Sign in
llvm
/
clang
/
14db9fed7ce9427cefa9e066f41dd23b4073e464
/
.
/
test
/
SemaTemplate
/
template-decl-fail.cpp
blob: b136f6279d52d8bbc79dd83844b68a918a0be309 [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
template
<
typename
T
>
typedef
T X
;
// expected-error{{typedef cannot be a template}}