xref: /llvm-project/clang/test/CodeGen/builtin-recursive.cpp (revision 4f477fbe5732ca6d5381dcf1cddb3994913f9e48)
1 // RUN: %clang_cc1 -triple x86_64-unknown-unknown -nostdsysteminc -nobuiltininc -isystem %S/Inputs -emit-llvm-only %s
2 
3 // This used to cause a read past the end of a global variable.
4 
5 #include <stdio.h>
6 
testcase(void)7 void testcase(void) {
8   vprintf(0, 0);
9 }
10 
11