☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaCXX
/
invalid-template-declaration.cpp
☽
☼
clang/test/SemaCXX/invalid-template-declaration.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 %s -verify -fsyntax-only
2
// PR99933
3
4
struct S {
5
template <typename> int i; // expected-error {{non-static data member 'i' cannot be declared as a template}}
6
};