summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/interface4.C
blob: 85bb912839ad482624ccfce11d7ad233ad13a922 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227376 */

/* { dg-do compile } */
/* { dg-options "-g2" } */

/* We used to crash when emitting debug info for type N::A because its
   context was a namespace, not a function.  */

#include "interface4.h"

void f ( ) {
        g ( );
}