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
libstdc++: Remove note from the GCC 4.0.1 days
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
abi-tag6.C
blob
94ea2f37b6b8009d32acab9d112b42eb2e6d25fe
1
// PR c++/60642
2
3
struct __attribute((abi_tag("test"))) foo
4
{
5
void f();
6
virtual ~foo();
7
};
8
9
template<typename>
10
struct __attribute((abi_tag("test"))) bar
11
{
12
void f();
13
virtual ~bar();
14
};
15
16
int main()
17
{
18
foo f;
19
f.f();
20
21
bar<int> b;
22
b.f();
23
}
24
25
// { dg-final { scan-assembler "_ZTV3barB4testIiE" } }