summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/attr-alias-elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/attr-alias-elf.c')
-rw-r--r--clang/test/Sema/attr-alias-elf.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/clang/test/Sema/attr-alias-elf.c b/clang/test/Sema/attr-alias-elf.c
deleted file mode 100644
index 32e41027c80..00000000000
--- a/clang/test/Sema/attr-alias-elf.c
+++ /dev/null
@@ -1,22 +0,0 @@
-// RUN: %clang_cc1 -triple x86_64-pc-linux -fsyntax-only -verify -emit-llvm-only %s
-
-void f1(void) __attribute__((alias("g1")));
-void g1(void) {
-}
-
-void f2(void) __attribute__((alias("g2"))); // expected-error {{alias must point to a defined variable or function}}
-
-
-void f3(void) __attribute__((alias("g3"))); // expected-error {{alias must point to a defined variable or function}}
-void g3(void);
-
-extern int a1 __attribute__((alias("b1")));
-int b1 = 42;
-
-extern int a2 __attribute__((alias("b2"))); // expected-error {{alias must point to a defined variable or function}}
-
-extern int a3 __attribute__((alias("b3"))); // expected-error {{alias must point to a defined variable or function}}
-extern int b3;
-
-extern int a4 __attribute__((alias("b4"))); // expected-error {{alias must point to a defined variable or function}}
-typedef int b4;
OpenPOWER on IntegriCloud