diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:11:37 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2017-12-18 20:11:37 +0000 |
commit | 461a67fa15370a9ec88f8f8a240bf7c123bb2029 (patch) | |
tree | 6942083d7d56bba40ec790a453ca58ad3baf6832 /test/SemaObjC/dllimport.m | |
parent | 75c3240472ba6ac2669ee72ca67eb72d4e2851fc (diff) |
Vendor import of clang trunk r321017:vendor/clang/clang-trunk-r321017
Notes
Notes:
svn path=/vendor/clang/dist/; revision=326941
svn path=/vendor/clang/clang-trunk-r321017/; revision=326942; tag=vendor/clang/clang-trunk-r321017
Diffstat (limited to 'test/SemaObjC/dllimport.m')
-rw-r--r-- | test/SemaObjC/dllimport.m | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/SemaObjC/dllimport.m b/test/SemaObjC/dllimport.m index b8360773c69b..ea87aea9b8da 100644 --- a/test/SemaObjC/dllimport.m +++ b/test/SemaObjC/dllimport.m @@ -1,17 +1,17 @@ // RUN: %clang_cc1 -triple i686-windows -fdeclspec -fsyntax-only -verify %s __declspec(dllimport) typedef int typedef1; -// expected-warning@-1{{'dllimport' attribute only applies to functions, variables, and Objective-C interfaces}} +// expected-warning@-1{{'dllimport' attribute only applies to functions, variables, classes, and Objective-C interfaces}} typedef __declspec(dllimport) int typedef2; -// expected-warning@-1{{'dllimport' attribute only applies to functions, variables, and Objective-C interfaces}} +// expected-warning@-1{{'dllimport' attribute only applies to}} typedef int __declspec(dllimport) typedef3; -// expected-warning@-1{{'dllimport' attribute only applies to functions, variables, and Objective-C interfaces}} +// expected-warning@-1{{'dllimport' attribute only applies to}} typedef __declspec(dllimport) void (*FunTy)(); -// expected-warning@-1{{'dllimport' attribute only applies to functions, variables, and Objective-C interfaces}} +// expected-warning@-1{{'dllimport' attribute only applies to}} enum __declspec(dllimport) E { Val }; -// expected-warning@-1{{'dllimport' attribute only applies to functions, variables, and Objective-C interfaces}} +// expected-warning@-1{{'dllimport' attribute only applies to}} struct __declspec(dllimport) Record {}; -// expected-warning@-1{{'dllimport' attribute only applies to functions, variables, and Objective-C interfaces}} +// expected-warning@-1{{'dllimport' attribute only applies to}} __declspec(dllimport) __attribute__((__objc_root_class__)) |