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