[LLVMbugs] [Bug 20146] New: function definition has qualified void return type

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Jun 27 10:53:51 PDT 2014


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

            Bug ID: 20146
           Summary: function definition has qualified void return type
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: sgundapa at codeaurora.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 12714
  --> http://llvm.org/bugs/attachment.cgi?id=12714&action=edit
A C test case to demonstrate the issue.

6.9.1/3 disallow a function to return a qualified type of void

I have attached a test case where a warning should be emitted as far as I know.
I verified this on gcc-4.8. But unfortunately, clang is not emitting any
warning.

Can some one take a look at this ?

-- 
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/20140627/d3527724/attachment.html>


More information about the llvm-bugs mailing list