]>
git.proxmox.com Git - rustc.git/blob - src/llvm/tools/clang/test/SemaCXX/function-overloaded-redecl.cpp
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 typedef const int cInt
;
6 void f (const int); // redecl
8 void f (int) { } // expected-note {{previous definition is here}}
9 void f (cInt
) { } // expected-error {{redefinition of 'f'}}