summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen/builtin-recursive.cpp
blob: 67d8a44c907a1edf1df61d9ecb4538bc50192351 (plain)
1
2
3
4
5
6
7
8
9
10
// RUN: %clang_cc1 -nostdsysteminc -nobuiltininc -isystem %S/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);
}

OpenPOWER on IntegriCloud