PR c++/86728 - C variadic generic lambda.
[official-gcc.git] / gcc / testsuite / g++.dg / opt / pr50747-1_0.C
blob4a5546c638e22e25fac175d8c4e74d4e75c0e87a
1 // { dg-do compile }
2 // { dg-require-effective-target lto }
3 // { dg-options "-flto" }
5 void foo();
7 static void bar() __attribute__((weakref("foo")));
9 struct A
11     A();
14 int i;
16 template <typename T, int&> struct B : T {};
18 B<A, i> b;