freebsd-dev/test/CodeGen/PR3709-int-to-pointer-sign.c
2009-06-02 17:58:47 +00:00

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;}