1 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -emit-llvm -o - %s | FileCheck %s
8 int f() __attribute__((weak
, alias("x")));
10 /* Test that we link to the alias correctly instead of making a new
11 forward definition. */
17 // CHECK: [[call:%.*]] = call i32 (...)* @f()
18 // CHECK: ret i32 [[call]]