summaryrefslogtreecommitdiff
path: root/test/Preprocessor/microsoft-import.c
blob: 2fc58bcfe278d11385706ea72ff18ae7391b9055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %clang_cc1 -E -verify -fms-compatibility %s

#import "pp-record.h" // expected-error {{#import of type library is an unsupported Microsoft feature}}

// Test attributes
#import "pp-record.h" no_namespace, auto_rename // expected-error {{#import of type library is an unsupported Microsoft feature}}

#import "pp-record.h" no_namespace \
                      auto_rename \
                      auto_search
// expected-error@-3 {{#import of type library is an unsupported Microsoft feature}}