xref: /llvm-project/clang/test/C/C99/n505.c (revision fb9b3e9a5f23cfc43106c1209fd4a07761eee5e9)
1 // RUN: %clang_cc1 -verify %s
2 
3 /* WG14 N505: Yes
4  * Make qualifiers idempotent
5  */
6 const const int i = 12; // expected-warning {{duplicate 'const' declaration specifier}}
7 typedef const int cint;
8 const cint j = 12;
9 
10