1*67e74705SXin Li // RUN: %clang_cc1 -fsyntax-only -verify %s 2*67e74705SXin Li 3*67e74705SXin Li typedef const int cInt; 4*67e74705SXin Li 5*67e74705SXin Li void f (int); 6*67e74705SXin Li void f (const int); // redecl 7*67e74705SXin Li f(int)8*67e74705SXin Livoid f (int) { } // expected-note {{previous definition is here}} f(cInt)9*67e74705SXin Livoid f (cInt) { } // expected-error {{redefinition of 'f'}} 10*67e74705SXin Li 11