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

3 lines
117 B
C

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