| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | void point(int = 3, int = 4); |
| 5 | |
| 6 | void test_point() { |
| 7 | point(1,2); |
| 8 | point(1); |
| 9 | point(); |
| 10 | } |
| 11 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
|---|---|
| 2 | // expected-no-diagnostics |
| 3 | |
| 4 | void point(int = 3, int = 4); |
| 5 | |
| 6 | void test_point() { |
| 7 | point(1,2); |
| 8 | point(1); |
| 9 | point(); |
| 10 | } |
| 11 |