Debian Codegraph @

gcc/testsuite/g++.dg/ext/interface4.C

raw
1 /* https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227376 */
2
3 /* { dg-do compile } */
4 /* { dg-options "-g2" } */
5
6 /* We used to crash when emitting debug info for type N::A because its
7 context was a namespace, not a function. */
8
9 #include "interface4.h"
10
11 void f ( ) {
12 g ( );
13 }