Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
SemaCXX
/
PR75221.cpp
blob: b342e347c5606a7ca49f7b44b36c3f5327829e18 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -verify -std=c++11 -fsyntax-only %s
template
<
class
T
>
using
foo
=
struct
foo
{
// expected-error {{'foo' cannot be defined in a type alias template}}
T size
=
0
;
};
foo a
;