blob: 2fc58bcfe278d11385706ea72ff18ae7391b9055 [file] [log] [blame]
Dmitri Gribenko12237622013-01-28 20:55:54 +00001// RUN: %clang_cc1 -E -verify -fms-compatibility %s
Aaron Ballman0467f552012-03-18 03:10:37 +00002
Aaron Ballman0467f552012-03-18 03:10:37 +00003#import "pp-record.h" // expected-error {{#import of type library is an unsupported Microsoft feature}}
4
5// Test attributes
Aaron Ballman0467f552012-03-18 03:10:37 +00006#import "pp-record.h" no_namespace, auto_rename // expected-error {{#import of type library is an unsupported Microsoft feature}}
7
Aaron Ballman0467f552012-03-18 03:10:37 +00008#import "pp-record.h" no_namespace \
9 auto_rename \
Matt Beaumont-Gayee570a22012-03-19 18:47:12 +000010 auto_search
Dmitri Gribenko12237622013-01-28 20:55:54 +000011// expected-error@-3 {{#import of type library is an unsupported Microsoft feature}}
12