[llvm-commits] CVS: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll

Chris Lattner lattner at cs.uiuc.edu
Wed Oct 9 15:56:01 PDT 2002


Changes in directory llvm/test/Regression/Transforms/FunctionResolve:

2002-08-19-ResolveGlobalVars.ll updated: 1.2 -> 1.3

---
Log message:

Add check to see if opt aborts


---
Diffs of the changes:

Index: llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll
diff -u llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.2 llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.3
--- llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll:1.2	Wed Oct  9 12:44:34 2002
+++ llvm/test/Regression/Transforms/FunctionResolve/2002-08-19-ResolveGlobalVars.ll	Wed Oct  9 15:55:32 2002
@@ -1,6 +1,11 @@
 ; Test that: extern int X[]  and int X[] = { 1, 2, 3, 4 } are resolved 
 ; correctly.
 ;
+; RUN: if as < %s | opt -funcresolve > /dev/null
+; RUN: then echo "opt ok"
+; RUN: else exit 1   # Make sure opt doesn't abort!
+; RUN: fi
+;
 ; RUN: if as < %s | opt -funcresolve | dis | grep external
 ; RUN: then exit 1
 ; RUN: else exit 0





More information about the llvm-commits mailing list