From 30815c536baacc07e925f0aef23a5395883173dc Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Thu, 20 Oct 2011 21:10:27 +0000 Subject: Vendor import of llvm release_30 branch r142614: http://llvm.org/svn/llvm-project/llvm/branches/release_30@142614 --- test/FrontendC/weak_constant.c | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 test/FrontendC/weak_constant.c (limited to 'test/FrontendC/weak_constant.c') diff --git a/test/FrontendC/weak_constant.c b/test/FrontendC/weak_constant.c deleted file mode 100644 index 53379482cb4d3..0000000000000 --- a/test/FrontendC/weak_constant.c +++ /dev/null @@ -1,12 +0,0 @@ -// RUN: %llvmgcc -S %s -O1 -o - | grep {ret.*123} -// Check for bug compatibility with gcc. - -const int x __attribute((weak)) = 123; - -int* f(void) { - return &x; -} - -int g(void) { - return *f(); -} -- cgit v1.2.3