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

11 lines
246 B
C++

// RUN: %clang_cc1 -triple x86_64-unknown-unknown -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);
}