llvm-for-llvmta/tools/clang/test/CodeGen/PR3709-int-to-pointer-sign.c

6 lines
140 B
C
Raw Normal View History

2022-04-25 13:02:35 +02:00
// 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;}