1 // { dg-do compile { target c++11 } } 2 // { dg-options "-pedantic" } 3 foo()4 const char* foo() 5 { 6 return __func__; 7 } 8