Home | History | Annotate | Download | only in Sema
      1 // RUN: %clang_cc1 %s -fsyntax-only -Wno-unused-value -Wmicrosoft -verify -fms-compatibility
      2 
      3 // PR15845
      4 int foo(xxx); // expected-error{{unknown type name}}
      5 
      6 struct cls {
      7   char *m;
      8 };
      9 
     10 char * cls::* __uptr wrong2 = &cls::m; // expected-error {{'__uptr' attribute cannot be used with pointers to members}}
     11