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
rs6000: Correct the function code for _AMO_LD_DEC_BOUNDED
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
mangle67.C
blob
69ca90b029d17ca997bade9e9f9f041f9cb09631
1
// PR c++/67354
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-fabi-version=5 -Os" }
4
5
class A
6
{
7
};
8
9
template <typename T>
10
void
11
foo ()
12
{
13
T ();
14
}
15
16
struct B : virtual A
17
{
18
template <typename...> B () {}
19
};
20
21
auto f = foo<B>;