repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
analyzer: fix -Wunused-parameter warning [PR117373]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attr-section1a.C
blob
7176434a538e4226f1e6d4ce2d926a046f572b4f
1
// PR c++/70435
2
// { dg-do compile { target { c++11 && named_sections } } }
3
4
template<class T>
5
struct A {
6
[[gnu::section(".foo")]] void fun() { }
7
};
8
9
template struct A<int>;
10
11
// { dg-final { scan-assembler {.(section|csect)[ \t]+.+foo} } }