Searched refs:BadX (Results 1 – 1 of 1) sorted by relevance
48 template<int N> struct BadX { struct49 BadX() { int a[-N]; } // expected-error {{array with a negative size}} in BadX() function50 ~BadX() { int a[-N]; } // expected-error {{array with a negative size}} in ~BadX() argument55 void f() { (void)BadX<1>(); } // expected-note 2 {{instantiation}} in f()