summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/builtin-recursive.cc
blob: 81e9b9a37c2561ff0db09cc4bf05a9d5130cd311 (about) (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -nostdsysteminc -nobuiltininc -isystem Inputs -emit-llvm-only %s

// This used to cause a read past the end of a global variable.

#include <stdio.h>

void testcase(void) {
  vprintf(0, 0);
}