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
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[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" } }