You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(void) __builtin_ptrauth_string_discriminator("test string"); // no warning
54
54
55
55
__builtin_ptrauth_string_discriminator(str); // expected-error {{argument must be a string literal}}
56
+
__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 *'}}
56
57
57
58
void*mismatch=__builtin_ptrauth_string_discriminator("test string"); // expected-error {{incompatible integer to pointer conversion initializing 'void *' with an expression of type 'unsigned long'}}
0 commit comments