Debian Codegraph @

gcc/testsuite/g++.dg/opt/pr119327.C

raw
1 // PR target/119327
2 // { dg-do compile { target c++11 } }
3 // { dg-options "-Os" }
4
5 #pragma GCC optimize "fp-contract=off"
6
7 template <class T>
8 void
9 foo (T f)
10 {
11 f ();
12 }
13
14 struct S {
15 S () { [] {}; foo ([] __attribute__((always_inline)) {}); }
16 } s;