llvm-project/clang/test/CodeGen/PR3709-int-to-pointer-sign.c

6 lines
138 B
C

// RUN: clang-cc -emit-llvm %s -o - -O1 -triple=x86_64-gnu-linux | grep "i64 -1"
// PR3709
long long a() { return (long long)(int*)-1;}