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.
1 parent da30225 commit f33dc8eCopy full SHA for f33dc8e
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