☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attr-section1.C
☽
☼
gcc/testsuite/g++.dg/ext/attr-section1.C
code
plain
raw
1
// PR c++/70435
2
// { dg-do compile { target { c++11 && named_sections } } }
3
4
template<class T>
5
[[gnu::section(".foo")]] void fun() { }
6
7
template void fun<int>();
8
9
// { dg-final { scan-assembler {.(section|csect)[ \t]+.+foo} } }