Nick Lewycky | 8013afe | 2012-01-18 04:28:31 +0000 | [diff] [blame^] | 1 | // 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 | |||||
7 | void testcase(void) { | ||||
8 | vprintf(0, 0); | ||||
9 | } | ||||
10 |