[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / ext / interface4.C
blob85bb912839ad482624ccfce11d7ad233ad13a922
1 /* https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=227376 */
3 /* { dg-do compile } */
4 /* { dg-options "-g2" } */
6 /* We used to crash when emitting debug info for type N::A because its
7    context was a namespace, not a function.  */
9 #include "interface4.h"
11 void f ( ) {
12         g ( );