brintos

brintos / llvm-project-archived public Read only

0
0
Text · 307 B · 457254c Raw
16 lines · c
1// RUN: %clang_analyze_cc1 -analyzer-checker=optin.portability.UnixAPI \2// RUN:    -triple x86_64-pc-linux-gnu -x c %s3 4// Don't crash!5// expected-no-diagnostics6const __int128_t a = ( (__int128_t)1 << 64 );7const _BitInt(72) b = ( 1 << 72 );8 9void int128() {10  2 >> a;11}12 13void withbitint() {14  2 >> b;15}16