Debian Codegraph @

clang/test/SemaCXX/PR75221.cpp

raw
1 // RUN: %clang_cc1 -verify -std=c++11 -fsyntax-only %s
2
3 template <class T> using foo = struct foo { // expected-error {{'foo' cannot be defined in a type alias template}}
4 T size = 0;
5 };
6 foo a;