[LLVMbugs] [Bug 17667] New: Lookup for field in anonymous union fails
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Oct 23 13:10:13 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17667
Bug ID: 17667
Summary: Lookup for field in anonymous union fails
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: C++
Assignee: unassignedclangbugs at nondot.org
Reporter: david.majnemer at gmail.com
CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
Classification: Unclassified
consider:
static union {
int x;
};
template <int *>
struct S;
S<&x> *a;
GCC will compile this fine but clang claims that 'x' doesn't refer to a
declaration.
--
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/20131023/c6447ddd/attachment.html>
More information about the llvm-bugs
mailing list