[llvm-bugs] [Bug 42031] New: "field may not be qualified with an address space" with class alias via using statement

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 27 04:23:56 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=42031

            Bug ID: 42031
           Summary: "field may not be qualified with an address space"
                    with class alias via using statement
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: drohr at jwdt.org
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org

The following test case yields an error "field may not be qualified with an
address space", compiled with clang 6e38ac04985f360b394f575a820b9966bc76b696,
and cl-std=c++

struct foo {};

using xxx = foo;

struct bar {
  xxx y;
};

-- 
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/20190527/33b44f21/attachment.html>


More information about the llvm-bugs mailing list