summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/PR3709-int-to-pointer-sign.c
blob: f77737e0f7707287c8bfcdb687f7d4e7017a46de (about) (plain)
1
2
3
4
5
// 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;}