Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.oliva/dwarf1.C

raw
1 // { dg-do assemble }
2
3 // Copyright (C) 1999 Free Software Foundation
4
5 // by Alexandre Oliva <[email protected]>
6 // based on bug report by Chris McKay <[email protected]>
7
8 // Used to fail with dwarf debugging.
9
10 template <class T = void>
11 struct foo {
12 static const int ELEMENTS = 1;
13 int bar[ELEMENTS];
14 };
15 foo<> bar;