llvm-project/clang/test/Sema/default1.c

3 lines
120 B
C

// RUN: clang-cc -fsyntax-only -verify %s
void f(int i = 0); // expected-error {{C does not support default arguments}}