1 // RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -o - -x c %s | FileCheck %s
2 // Reproduce the crash in PR19760.
foo(void)3 static void foo(void) {}
4 void bar(void) __attribute__((alias("foo")))
5 __attribute__((visibility("hidden")));
6 
7 // CHECK: @bar = hidden alias void (), void ()* @foo
8 // CHECK: define internal void @foo()
9