Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/crash26.C

raw
1 // { dg-do assemble }
2 // Origin: Jakub Jelinek <[email protected]>
3
4 class foo {
5 public:
6 foo(int);
7 };
8
9 void bar(bool x)
10 {
11 if(x)
12 foo *a = new foo(foo::not); // { dg-error "" }
13 }