You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
327 B
9 lines
327 B
4 months ago
|
// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -o - -x c %s | FileCheck %s
|
||
|
// Reproduce the crash in PR19760.
|
||
|
static void foo(void) {}
|
||
|
void bar(void) __attribute__((alias("foo")))
|
||
|
__attribute__((visibility("hidden")));
|
||
|
|
||
|
// CHECK: @bar = hidden alias void (), void ()* @foo
|
||
|
// CHECK: define internal void @foo()
|