aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/overloadable.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/overloadable.c')
-rw-r--r--test/CodeGen/overloadable.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/CodeGen/overloadable.c b/test/CodeGen/overloadable.c
index 1ed72b19c4d4..8b40e4d73403 100644
--- a/test/CodeGen/overloadable.c
+++ b/test/CodeGen/overloadable.c
@@ -1,4 +1,6 @@
-// RUN: %clang_cc1 -emit-llvm %s -o - | grep _Z1fPA10_1X
+// RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm %s -o - | FileCheck %s
+// CHECK: _Z1fPA10_1X
+
int __attribute__((overloadable)) f(int x) { return x; }
float __attribute__((overloadable)) f(float x) { return x; }
double __attribute__((overloadable)) f(double x) { return x; }