blob: 4a5546c638e22e25fac175d8c4e74d4e75c0e87a [file] [log] [blame]
// { dg-do compile }
// { dg-require-effective-target lto }
// { dg-options "-flto" }
void foo();
static void bar() __attribute__((weakref("foo")));
struct A
{
A();
};
int i;
template <typename T, int&> struct B : T {};
B<A, i> b;