llvm-for-llvmta/tools/clang/test/Sema/default1.c

3 lines
122 B
C

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