bolt/deps/llvm-18.1.8/clang/test/C/C99/n505.c

10 lines
215 B
C
Raw Normal View History

2025-02-14 19:21:04 +01:00
// 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;