[LLVMbugs] [Bug 17434] New: return-type warning generates an error

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Oct 1 20:35:13 PDT 2013


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

            Bug ID: 17434
           Summary: return-type warning generates an error
           Product: clang
           Version: 3.2
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: rkotler at mips.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 11315
  --> http://llvm.org/bugs/attachment.cgi?id=11315&action=edit
test case from dejagnu for gcc

../tests-c/920302-1.c:15:7: error: non-void function 'execute' should return a
      value [-Wreturn-type]
      return;
      ^
../tests-c/920302-1.c:23:5: error: non-void function 'execute' should return a
      value [-Wreturn-type]
    return;
    ^

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131002/d3021f5e/attachment.html>


More information about the llvm-bugs mailing list