blob: 81e9b9a37c2561ff0db09cc4bf05a9d5130cd311 [file] [log] [blame]
Nick Lewycky8013afe2012-01-18 04:28:31 +00001// RUN: %clang_cc1 -nostdsysteminc -nobuiltininc -isystem 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