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

Bill Wendling <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |WORKSFORME

--- Comment #2 from Bill Wendling <[email protected]> 2011-10-16 23:42:31 CDT 
---
Looks like clang is getting this correct:

$ clang++ -O2 -Wreturn-type -c pr23075.C 
pr23075.C:8:3: warning: non-void function 'foo' should return a value
[-Wreturn-type]
  return;       // { dg-error "with no value" }
  ^
1 warning generated.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- 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