Teach InlineFunction how to differentiate between multiple-value
[oota-llvm.git] / test / LLVMC / dg.exp
index 22ecaecbd7ba429537f1133e972299f8e408fcd9..a2e44b99859fd2f7450a7b3c7a5ff7c860101b29 100644 (file)
@@ -1,3 +1,10 @@
 load_lib llvm.exp
 
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{c,cpp}]]
+if [ llvm_gcc_supports c ] then {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{c}]]
+}
+
+if [ llvm_gcc_supports c++ ] then {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{cpp}]]
+}
+