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
Daily bump.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
abi-tag20.C
blob
229c1709be58e52110936721c6f2ae517dface00
1
// { dg-do compile { target c++11 } }
2
// { dg-final { scan-assembler "_ZN1B1gIcEEN7__cxx111XEv" } }
3
4
inline namespace __cxx11 __attribute__((__abi_tag__ ("ABI_TAG"))) {
5
class X {};
6
}
7
struct B {
8
X f();
9
template <class U> X g();
10
};
11
int main() {
12
B b;
13
b.g<char>();
14
return 0;
15
}