Richard Smith | 3b87038 | 2013-04-30 22:43:51 +0000 | [diff] [blame] | 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}} | ||||
Aaron Ballman | 317a77f | 2013-05-22 23:25:32 +0000 | [diff] [blame] | 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}} |