We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7b24895 + f33dc8e commit 167153cCopy full SHA for 167153c
clang/test/Sema/warn-duplicate-decl-specifier.c
@@ -15,3 +15,5 @@ __attribute__((address_space(1)))
15
__attribute__((address_space(1))) // expected-warning {{multiple identical address spaces specified for type}}
16
int j = 12;
17
18
+volatile const volatile const int x = 1; // expected-warning {{duplicate 'const' declaration specifier}} \
19
+ expected-warning {{duplicate 'volatile' declaration specifier}}
0 commit comments