bolt/deps/llvm-18.1.8/clang/test/CodeGen/pointer-to-int.c

13 lines
146 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// RUN: %clang_cc1 -emit-llvm -Wno-int-conversion %s -o -
int test(void* i)
{
return (int)i;
}
int test2(void) {
float x[2];
return x;
}