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

8 lines
139 B
Objective-C

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