diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2013-07-30 01:31:03 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2013-07-30 01:31:03 +0000 |
commit | 3bf758cd6579712f99b6fa536d55d63d9b6f1a7a (patch) | |
tree | febb660e0996469f8b2f52abc3dcd9e0bdebcff4 /clang/test/Sema/callingconv.c | |
parent | 0cf702fa619c5733e79aebf4307344ff70cbebb4 (diff) | |
download | bcm5719-llvm-3bf758cd6579712f99b6fa536d55d63d9b6f1a7a.tar.gz bcm5719-llvm-3bf758cd6579712f99b6fa536d55d63d9b6f1a7a.zip |
err_attribute_not_string has been subsumed by err_attribute_argument_type.
llvm-svn: 187400
Diffstat (limited to 'clang/test/Sema/callingconv.c')
-rw-r--r-- | clang/test/Sema/callingconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/callingconv.c b/clang/test/Sema/callingconv.c index c0535058b96..ea91675c198 100644 --- a/clang/test/Sema/callingconv.c +++ b/clang/test/Sema/callingconv.c @@ -39,7 +39,7 @@ Handler H = foo; int __attribute__((pcs("aapcs", "aapcs"))) pcs1(void); // expected-error {{'pcs' attribute takes one argument}} int __attribute__((pcs())) pcs2(void); // expected-error {{'pcs' attribute takes one argument}} int __attribute__((pcs(pcs1))) pcs3(void); // expected-error {{'pcs' attribute takes one argument}} -int __attribute__((pcs(0))) pcs4(void); // expected-error {{'pcs' attribute requires parameter 1 to be a string}} +int __attribute__((pcs(0))) pcs4(void); // expected-error {{'pcs' attribute requires a string}} /* These are ignored because the target is i386 and not ARM */ int __attribute__((pcs("aapcs"))) pcs5(void); // expected-warning {{calling convention 'pcs' ignored for this target}} int __attribute__((pcs("aapcs-vfp"))) pcs6(void); // expected-warning {{calling convention 'pcs' ignored for this target}} |