mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-01 09:06:07 +00:00
10 lines
215 B
C
10 lines
215 B
C
![]() |
// RUN: %clang_cc1 -verify %s
|
||
|
|
||
|
/* WG14 N505: Yes
|
||
|
* Make qualifiers idempotent
|
||
|
*/
|
||
|
const const int i = 12; // expected-warning {{duplicate 'const' declaration specifier}}
|
||
|
typedef const int cint;
|
||
|
const cint j = 12;
|
||
|
|