http://llvm.org/bugs/show_bug.cgi?id=2332
Summary: clang incorrectly rejects "a(a)int a;{a=10;return a;}"
Product: clang
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: parser
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]
CC: [email protected]
Per summary, clang rejects the following code:
a(a)int a;{a=10;return a;}
both gcc and comeau accept this construct. I haven't looked closely at the
standard, but I would be surprised if this weren't valid.
--
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