aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/builtins-arm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/SemaCXX/builtins-arm.cpp')
-rw-r--r--test/SemaCXX/builtins-arm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/SemaCXX/builtins-arm.cpp b/test/SemaCXX/builtins-arm.cpp
index 8a0cf8102b35..bd70b812b971 100644
--- a/test/SemaCXX/builtins-arm.cpp
+++ b/test/SemaCXX/builtins-arm.cpp
@@ -2,5 +2,5 @@
// va_list on ARM AAPCS is struct { void* __ap }.
int test1(const __builtin_va_list &ap) {
- return __builtin_va_arg(ap, int); // expected-error {{binding of reference to type '__builtin_va_list' to a value of type 'const __builtin_va_list' drops qualifiers}}
+ return __builtin_va_arg(ap, int); // expected-error {{binding value of type 'const __builtin_va_list' to reference to type '__builtin_va_list' drops 'const' qualifier}}
}