forked from OSchip/llvm-project
6 lines
172 B
C
6 lines
172 B
C
|
// RUN: clang %s -fsyntax-only -verify
|
||
|
int f(int) { } // expected-error{{previous definition is here}}
|
||
|
int f(int);
|
||
|
int f(int) { } // expected-error{{redefinition of 'f'}}
|
||
|
|