[cfe-dev] TEST 'CodeGen/enum.c' FAILED!

Ted Kremenek kremenek at apple.com
Thu Dec 20 11:57:31 PST 2007


This test is now failing:

******************** TEST 'CodeGen/enum.c' FAILED! ********************
Command:
  clang CodeGen/enum.c -emit-llvm | llvm-as | opt -std-compile-opts |  
llvm-dis | grep 'ret i32 6'
Output:


Here is the output of the test:

$ clang CodeGen/enum.c -emit-llvm | llvm-as | opt -std-compile-opts |  
llvm-dis
; ModuleID = '<stdin>'
target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32- 
i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64- 
f80:128:128"
target triple = "i686-apple-darwin9.1.0"

define i32 @main() nounwind  {
entry:
	ret i32 7
}


Notice that "ret i32 7" instead of "ret i32 6".



More information about the cfe-dev mailing list