blob: d4fa142762a8cef0e57c0cad4828b22fcd8ed40d [file] [log] [blame]
// { dg-options -Wabi=9 }
// { dg-final { scan-assembler "_ZGVZN1N1FEvE4NameB5cxx11" } }
namespace std {
__extension__ inline namespace __cxx11 __attribute__((abi_tag("cxx11"))) {
struct String {
String();
};
}
}
namespace N {
inline void F() {
{
static std::String Name; // { dg-warning "mangled name" }
}
}
void F2() {
F();
}
}