llvm-project/clang/test/Analysis/sval-dump-int128.c

9 lines
387 B
C

// RUN: %clang_analyze_cc1 -triple x86_64-linux-gnu -analyzer-checker=debug.ExprInspection %s -verify
// RUN: %clang_analyze_cc1 -triple powerpc64-ibm-aix-xcoff -analyzer-checker=debug.ExprInspection %s -verify
void clang_analyzer_dump(unsigned __int128 x);
void testDumpInt128() {
clang_analyzer_dump((unsigned __int128)5 << 64); // expected-warning{{92233720368547758080 U128b}}
}