http://llvm.org/bugs/show_bug.cgi?id=16376
Bug ID: 16376
Summary: local structs don't can't refer to each other in a
templated function
Product: clang
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++11
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 10705
--> http://llvm.org/bugs/attachment.cgi?id=10705&action=edit
Testcase
Hi everybody,
I'm not a language advocate, but the attached code compiles fine with gcc-4.8.1
while it doesn't with the clang++ distributed by Fedora 19 beta (clang version
3.3 (tags/RELEASE_33/rc3)).
It somehow seems to think that there exists a `wrap_bar::bar`.
Best,
Nicolai
--
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