aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/ptrauth.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Sema/ptrauth.c')
-rw-r--r--clang/test/Sema/ptrauth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/ptrauth.c b/clang/test/Sema/ptrauth.c
index e393261..b4e5214 100644
--- a/clang/test/Sema/ptrauth.c
+++ b/clang/test/Sema/ptrauth.c
@@ -57,7 +57,7 @@ void test_string_discriminator(const char *str) {
__builtin_ptrauth_string_discriminator(str); // expected-error {{argument must be a string literal}}
__builtin_ptrauth_string_discriminator(L"wide test"); // expected-error {{argument must be a string literal}} expected-warning {{incompatible pointer types passing 'int[10]' to parameter of type 'const char *'}}
- void *mismatch = __builtin_ptrauth_string_discriminator("test string"); // expected-error {{incompatible integer to pointer conversion initializing 'void *' with an expression of type 'unsigned long'}}
+ void *mismatch = __builtin_ptrauth_string_discriminator("test string"); // expected-error {{incompatible integer to pointer conversion initializing 'void *' with an expression of type '__size_t'}}
}