mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 08:46:08 +00:00

Conversion performed using the script at: https://gist.github.com/nikic/98357b71fd67756b0f064c9517b62a34 These are only tests where no manual fixup was required.
9 lines
322 B
C
9 lines
322 B
C
// 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 (), ptr @foo
|
|
// CHECK: define internal void @foo()
|