xref: /aosp_15_r20/external/clang/test/Preprocessor/microsoft-import.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // RUN: %clang_cc1 -E -verify -fms-compatibility %s
2*67e74705SXin Li 
3*67e74705SXin Li #import "pp-record.h" // expected-error {{#import of type library is an unsupported Microsoft feature}}
4*67e74705SXin Li 
5*67e74705SXin Li // Test attributes
6*67e74705SXin Li #import "pp-record.h" no_namespace, auto_rename // expected-error {{#import of type library is an unsupported Microsoft feature}}
7*67e74705SXin Li 
8*67e74705SXin Li #import "pp-record.h" no_namespace \
9*67e74705SXin Li                       auto_rename \
10*67e74705SXin Li                       auto_search
11*67e74705SXin Li // expected-error@-3 {{#import of type library is an unsupported Microsoft feature}}
12*67e74705SXin Li 
13