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

            Bug ID: 28680
           Summary: "error: expected unqualified-id" -- that's the
                    entirety of the error message
           Product: clang
           Version: 3.8
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
          Assignee: unassignedclangb...@nondot.org
          Reporter: xax...@gmail.com
                CC: dgre...@apple.com, llvm-bugs@lists.llvm.org
    Classification: Unclassified

no filename, no line number, no nothing, except:

error: expected unqualified-id

Checking on godbolt, it seems to be a regression between 3.7.1 and 3.8.

https://godbolt.org/g/7Duczj

class Foo {
 static const char * string; 
};

#define MESSAGE_STUFF(type, string) \
    const char * type::string = string;

  MESSAGE_STUFF(Foo, "hello");

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to