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

6 lines
140 B
C

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