mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 04:56:06 +00:00

This updates the status of: N505 Make qualifiers idempotent N725 Integer promotion rules N1311 Initializing static of external variables
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;
|
|
|