blob: 7553a6e48f5326fb57765408e6832072a2a67797 [file] [log] [blame]
Nico Weber4f477fb2014-12-23 01:07:10 +00001// RUN: %clang_cc1 -triple x86_64-unknown-unknown -nostdsysteminc -nobuiltininc -isystem %S/Inputs -emit-llvm-only %s
Nico Weber08ef80f2014-12-22 18:13:07 +00002
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