Mercurial > hg > CbC > CbC_gcc
annotate gcc/testsuite/g++.dg/template/call5.C @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
rev | line source |
---|---|
111 | 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 } |