Files
clang-p2996/compiler-rt/test/ubsan/TestCases/Integer/summary.cpp
2015-02-27 02:29:25 +00:00

11 lines
315 B
C++

// RUN: %clangxx -fsanitize=integer %s -o %t && %t 2>&1 | FileCheck %s
// REQUIRES: ubsan-asan
#include <stdint.h>
int main() {
(void)(uint64_t(10000000000000000000ull) + uint64_t(9000000000000000000ull));
// CHECK: SUMMARY: AddressSanitizer: undefined-behavior {{.*}}summary.cpp:[[@LINE-1]]:44
return 0;
}