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
[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
abi-tag17.C
blob
cb7dbab9c7ff6267c77b6bf6845cfc4694dddd28
1
// { dg-final { scan-assembler "_Z3fi1B6_X_tagv" } }
2
3
struct __attribute((abi_tag("_A1_tag"))) A1 {};
4
template <class T> struct __attribute((abi_tag("_X_tag"))) X {};
5
X<int> fi1();
6
int main() {
7
X<A1> xa;
8
fi1();
9
}