Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
8e51a1f5da6ef4a1a168d14116c6eed3a578a263
/
.
/
test
/
SemaTemplate
/
template-decl-fail.cpp
blob: a298c6d5a4ba0f0c30db172b512f7cef7545902e [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
template
<
typename
T
>
typedef
T X
;
// expected-error{{typedef cannot be a template}}