Sign in
fuchsia
/
third_party
/
llvm-project
/
refs/heads/upstream/release/21.x
/
.
/
clang
/
test
/
SemaCXX
/
PR75221.cpp
blob: b342e347c5606a7ca49f7b44b36c3f5327829e18 [
file
] [
log
] [
blame
] [
edit
]
// 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
;