summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2007-04-16 06:10:47 +0000
committerChris Lattner <sabre@nondot.org>2007-04-16 06:10:47 +0000
commitae88e984bb96021dfd24db09665bbfe36a063a38 (patch)
treea5b8f032aa3cc489d9ffd6943eacd12788c9372f /test
parentb01b15a5e89045e162ddcf1df42311a0cd5e2b66 (diff)
downloadllvm-ae88e984bb96021dfd24db09665bbfe36a063a38.tar.gz
llvm-ae88e984bb96021dfd24db09665bbfe36a063a38.tar.bz2
llvm-ae88e984bb96021dfd24db09665bbfe36a063a38.tar.xz
fix incorrectly upgraded test
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-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;