// { dg-final { scan-assembler "_Z1fSsB3fooS_" } } namespace std { template struct char_traits {}; template struct allocator {}; template struct __attribute ((abi_tag ("foo"))) basic_string { }; typedef basic_string,allocator > string; } void f(std::string,std::string) {}