microsoft-import.c 501 B

123456789101112
  1. // RUN: %clang_cc1 -E -verify -fms-compatibility %s
  2. #import "pp-record.h" // expected-error {{#import of type library is an unsupported Microsoft feature}}
  3. // Test attributes
  4. #import "pp-record.h" no_namespace, auto_rename // expected-error {{#import of type library is an unsupported Microsoft feature}}
  5. #import "pp-record.h" no_namespace \
  6. auto_rename \
  7. auto_search
  8. // expected-error@-3 {{#import of type library is an unsupported Microsoft feature}}