[llvm-commits] [llvm] r72620 - in /llvm/trunk/test/FrontendC: 2007-04-11-InlineStorageClassC89.c 2007-04-11-InlineStorageClassC99.c
Duncan Sands
baldrick at free.fr
Sat May 30 06:57:05 PDT 2009
Author: baldrick
Date: Sat May 30 08:57:05 2009
New Revision: 72620
URL: http://llvm.org/viewvc/llvm-project?rev=72620&view=rev
Log:
Adjust these tests now that "extern inline"
functions are being output with bodies and
available_externally linkage.
Modified:
llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC89.c
llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC99.c
Modified: llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC89.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC89.c?rev=72620&r1=72619&r2=72620&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC89.c (original)
+++ llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC89.c Sat May 30 08:57:05 2009
@@ -11,9 +11,8 @@
// RUN: grep -v linkonce | count 1
// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xstatnoWeak | grep internal | count 1
-// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep declare | \
-// RUN: grep xextnoWeak | grep -v internal | grep -v weak | \
-// RUN: grep -v linkonce | count 1
+// RUN: %llvmgcc %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: grep xextnoWeak | grep available_externally | count 1
inline int xglobWeak(int) __attribute__((weak));
inline int xglobWeak (int i) {
return i*2;
Modified: llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC99.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC99.c?rev=72620&r1=72619&r2=72620&view=diff
==============================================================================
--- llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC99.c (original)
+++ llvm/trunk/test/FrontendC/2007-04-11-InlineStorageClassC99.c Sat May 30 08:57:05 2009
@@ -1,14 +1,13 @@
-// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep declare | \
-// RUN: grep xglobWeak | grep extern_weak | count 1
+// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: grep xglobWeak | grep weak | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xextWeak | grep weak | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xWeaknoinline | grep weak | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xWeakextnoinline | grep weak | count 1
-// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep declare | \
-// RUN: grep xglobnoWeak | grep -v internal | grep -v weak | \
-// RUN: grep -v linkonce | count 1
+// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
+// RUN: grep xglobnoWeak | grep available_externally | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xstatnoWeak | grep internal | count 1
// RUN: %llvmgcc -std=c99 %s -S -emit-llvm -O0 -o - | grep define | \
More information about the llvm-commits
mailing list