aboutsummaryrefslogtreecommitdiff
path: root/test/SemaCXX/vararg-default-arg.cpp
blob: 27c2bbbf5b8eeb2da393b368cfde8c323635e389 (plain)
1
2
3
4
5
6
7
8
9
10
11
// RUN: %clang_cc1 %s -verify -fsyntax-only
// expected-no-diagnostics
// PR5462

void f1(void);
void f2(const char * = __null, ...);

void f1(void)
{
        f2();
}