Debian Codegraph @

gcc/testsuite/g++.dg/cpp0x/gen-attrs-63.C

raw
1 // PR c++/79967
2 // { dg-do compile { target c++11 } }
3
4 template <void f [[noreturn]]()>
5 struct A
6 {
7 int g () { f (); return 0; }
8 };
9
10 void f ();
11
12 void g (A<f> a) { a.g (); }