clang/test/Preprocessor/microsoft-import.c
raw| 1 | // RUN: %clang_cc1 -E -verify -fms-compatibility %s |
| 2 | |
| 3 | #import "pp-record.h" // expected-error {{#import of type library is an unsupported Microsoft feature}} |
| 4 | |
| 5 | // Test attributes |
| 6 | #import "pp-record.h" no_namespace, auto_rename // expected-error {{#import of type library is an unsupported Microsoft feature}} |
| 7 | |
| 8 | #import "pp-record.h" no_namespace \ |
| 9 | auto_rename \ |
| 10 | auto_search |
| 11 | // expected-error@-3 {{#import of type library is an unsupported Microsoft feature}} |
| 12 |