http://llvm.org/bugs/show_bug.cgi?id=3301
Summary: x(x){} confuses clang.
Product: clang
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: AST
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Small test case:
$ cat x.c
x(x){ return x; }
$ clang x.c
f.c:1:1: error: redefinition of 'x' as different kind of symbol
x(x){ return x; }
^
f.c:1:3: note: previous definition is here
x(x){ return x; }
^
2 diagnostics 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