llvm-for-llvmta/tools/clang/test/CXX/dcl.decl/dcl.meaning/dcl.fct.default/p2.cpp

11 lines
164 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
void point(int = 3, int = 4);
void test_point() {
point(1,2);
point(1);
point();
}