aboutsummaryrefslogtreecommitdiff
path: root/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp')
-rw-r--r--test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp b/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp
index c0c7369d03..8f3723ba17 100644
--- a/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp
+++ b/test/C++Frontend/2007-04-11-InlineStorageClassC++.cpp
@@ -6,13 +6,12 @@
// RUN: grep xWeaknoinline | grep weak | wc -l | grep 1
// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xWeakextnoinline | grep weak | wc -l | grep 1
-// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep declare | \
+// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xglobnoWeak | grep linkonce | wc -l | grep 1
// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xstatnoWeak | grep internal | wc -l | grep 1
// RUN: %llvmgxx %s -S -emit-llvm -O0 -o - | grep define | \
// RUN: grep xextnoWeak | grep linkonce | wc -l | grep 1
-// XFAIL: *
inline int xglobWeak(int) __attribute__((weak));
inline int xglobWeak (int i) {
return i*2;