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
2017-06-14 Paolo Carlini <paolo.carlini@oracle.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
call5.C
blob
55cf2ddac97e02e0c489b3920504b7d8d5811cbd
1
// PR c++/36631
2
// { dg-options "-O0" }
3
4
template <typename T> struct B
5
{
6
struct C
7
{
8
__attribute__ ((always_inline)) C (C const &c) {}
9
};
10
void __attribute__ ((always_inline)) g (C c) {}
11
};
12
13
void
14
trigger (B <int> b, B <int>::C c)
15
{
16
b.g (c);
17
}