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: [email protected]
Reporter: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs