brintos

brintos / llvm-project-archived public Read only

0
0
Text · 195 B · b342e34 Raw
7 lines · cpp
1// RUN: %clang_cc1 -verify -std=c++11 -fsyntax-only %s2 3template <class T> using foo = struct foo { // expected-error {{'foo' cannot be defined in a type alias template}}4  T size = 0;5};6foo a;7