testsuite: AIX csect section name.
[official-gcc.git] / gcc / testsuite / g++.dg / ext / attr-section1a.C
blob7176434a538e4226f1e6d4ce2d926a046f572b4f
1 // PR c++/70435
2 // { dg-do compile { target { c++11 && named_sections } } }
4 template<class T>
5 struct A {
6   [[gnu::section(".foo")]] void fun() { }
7 };
9 template struct A<int>;
11 // { dg-final { scan-assembler {.(section|csect)[ \t]+.+foo} } }