1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | void f(int) { } // expected-note {{previous definition is here}} |
3 | void f(const int) { } // expected-error {{redefinition of 'f'}} |
4 |
1 | // RUN: %clang_cc1 -fsyntax-only -verify %s |
---|---|
2 | void f(int) { } // expected-note {{previous definition is here}} |
3 | void f(const int) { } // expected-error {{redefinition of 'f'}} |
4 |