llvm-project/clang/test/CodeGen/builtin-recursive.cpp

11 lines
215 B
C++
Raw Normal View History

// RUN: %clang_cc1 -nostdsysteminc -nobuiltininc -isystem %S/Inputs -emit-llvm-only %s
// This used to cause a read past the end of a global variable.
#include <stdio.h>
void testcase(void) {
vprintf(0, 0);
}