summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/inline.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/inline.c')
-rw-r--r--test/CodeGen/inline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/inline.c b/test/CodeGen/inline.c
index a6b4b3e..96f9c5c 100644
--- a/test/CodeGen/inline.c
+++ b/test/CodeGen/inline.c
@@ -29,7 +29,7 @@
// RUN: grep "define available_externally i32 @test5" %t
// RUN: echo "\nC++ tests:"
-// RUN: %clang %s -O1 -emit-llvm -S -o %t -std=c++98
+// RUN: %clang -x c++ %s -O1 -emit-llvm -S -o %t -std=c++98
// RUN: grep "define linkonce_odr i32 @_Z2eiv()" %t
// RUN: grep "define linkonce_odr i32 @_Z3foov()" %t
// RUN: grep "define i32 @_Z3barv()" %t
OpenPOWER on IntegriCloud