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