Charles Davis | d18f9f9 | 2010-08-16 04:01:50 +0000 | [diff] [blame^] | 1 | // RUN: %clang_cc1 -cxx-abi microsoft -fsyntax-only -verify %s |
2 | |||||
3 | // Test that we reject pointers to members of incomplete classes (for now) | ||||
4 | struct A; //expected-note{{forward declaration of 'A'}} | ||||
5 | int A::*pai1; //expected-error{{incomplete type 'A'}} | ||||
6 |