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
7void testcase(void) {
8  vprintf(0, 0);
9}
10
11