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

Reply via email to