brintos

brintos / llvm-project-archived public Read only

0
0
Text · 252 B · 0077881 Raw
11 lines · cpp
1// RUN: %clang_cc1 -fsyntax-only -verify %s 2 3typedef const int cInt;4 5void f (int); 6void f (const int);  // redecl7 8void f (int) {  }    // expected-note {{previous definition is here}}9void f (cInt) { }    // expected-error {{redefinition of 'f'}}10 11