Home
last modified time | relevance | path

Searched refs:BadX (Results 1 – 2 of 2) sorted by relevance

/external/clang/test/SemaTemplate/
Dinstantiate-expr-4.cpp53 template<int N> struct BadX { struct
54 BadX() { int a[-N]; } // expected-error {{array with a negative size}} in BadX() argument
55 ~BadX() { int a[-N]; } // expected-error {{array with a negative size}} in ~BadX() argument
60 void f() { (void)BadX<1>(); } // expected-note 2 {{instantiation}} in f()
/external/llvm-project/clang/test/SemaTemplate/
Dinstantiate-expr-4.cpp53 template<int N> struct BadX { struct
54 BadX() { int a[-N]; } // expected-error {{array with a negative size}} in BadX() function
55 ~BadX() { int a[-N]; } // expected-error {{array with a negative size}} in ~BadX() argument
60 void f() { (void)BadX<1>(); } // expected-note 2 {{instantiation}} in f()