blob: e93922825ce39453e6148ddecc93df0d71349c26 [file] [log] [blame]
Stephen Hines6bcf27b2014-05-29 04:14:42 -07001// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm -o - -x c %s | FileCheck %s
2// Reproduce the crash in PR19760.
3static void foo(void) {}
4void bar(void) __attribute__((alias("foo")))
5__attribute__((visibility("hidden")));
6
7// CHECK: @bar = hidden alias void ()* @foo
8// CHECK: define internal void @foo()