llvm-project/clang/test/Sema/builtins-overflow.m

8 lines
135 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
void test() {
int z[1];
__builtin_add_overflow(1, 1, z);
}