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