New testcase for PR1744
[oota-llvm.git] / test / CFrontend / dg.exp
index 879685ca879df60056ae48bf4411e0df73b77dc5..6675048e693263ec9e58cb0b63f1bf4bcc129aff 100644 (file)
@@ -1,3 +1,5 @@
 load_lib llvm.exp
 
-RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+if [ llvm_gcc_supports c ] then {
+  RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+}