brintos

brintos / llvm-project-archived public Read only

0
0
Text · 324 B · 4522f6a Raw
8 lines · c
1// RUN: %clang_cc1 -triple arm64e-apple-ios -fptrauth-calls %s -verify -emit-llvm -o -2// RUN: %clang_cc1 -triple aarch64-linux-gnu -fptrauth-calls %s -verify -emit-llvm -o -3 4void f(void);5 6// FIXME: We need a better diagnostic here.7int *pf = (int *)&f + 1; // expected-error{{cannot compile this static initializer yet}}8