Dmitri Gribenko | 1223762 | 2013-01-28 20:55:54 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -E -verify -fms-compatibility %s |
Aaron Ballman | 0467f55 | 2012-03-18 03:10:37 +0000 | [diff] [blame] | 2 | |
Aaron Ballman | 0467f55 | 2012-03-18 03:10:37 +0000 | [diff] [blame] | 3 | #import "pp-record.h" // expected-error {{#import of type library is an unsupported Microsoft feature}} |
| 4 | |
| 5 | // Test attributes |
Aaron Ballman | 0467f55 | 2012-03-18 03:10:37 +0000 | [diff] [blame] | 6 | #import "pp-record.h" no_namespace, auto_rename // expected-error {{#import of type library is an unsupported Microsoft feature}} |
| 7 | |
Aaron Ballman | 0467f55 | 2012-03-18 03:10:37 +0000 | [diff] [blame] | 8 | #import "pp-record.h" no_namespace \ |
| 9 | auto_rename \ |
Matt Beaumont-Gay | ee570a2 | 2012-03-19 18:47:12 +0000 | [diff] [blame] | 10 | auto_search |
Dmitri Gribenko | 1223762 | 2013-01-28 20:55:54 +0000 | [diff] [blame] | 11 | // expected-error@-3 {{#import of type library is an unsupported Microsoft feature}} |
| 12 | |