blob: c8dd2c6e3e6e55b68c2619233e423c9b3b5f2cd2 [file] [log] [blame]
// RUN: %dragonegg -S %s -o - | FileCheck %s
int foo(int x) { return x; }
static void function_weakref(void) __attribute__ ((weakref("foo")));
void *use_function = (void *)function_weakref;
// CHECK: @function_weakref = alias weak i32 (i32)* @foo