http://llvm.org/bugs/show_bug.cgi?id=16319

            Bug ID: 16319
           Summary: LLVM compiled programs on Windows don't have a return
                    value
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: X86
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    Classification: Unclassified

This is a weird bug, it seems like when the process exits, no return value is
set:

ehsan@MEGATRON ~/moz/src
$ cat test.c
int main() {
  return 1;
}

ehsan@MEGATRON ~/moz/src
$ ~/src/llvm-objdir/bin/Release/clang.exe -O2 test.c -o test.exe

ehsan@MEGATRON ~/moz/src
$ ./test.exe && echo $?

ehsan@MEGATRON ~/moz/src
$

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to