2013-01-29 04:55:54 +08:00
|
|
|
// RUN: %clang_cc1 -E -verify -fms-compatibility %s
|
2012-03-18 11:10:37 +08:00
|
|
|
|
|
|
|
#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 \
|
2012-03-20 02:47:12 +08:00
|
|
|
auto_search
|
2013-01-29 04:55:54 +08:00
|
|
|
// expected-error@-3 {{#import of type library is an unsupported Microsoft feature}}
|
|
|
|
|