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 3856379 commit 6bbca07Copy full SHA for 6bbca07
clang/test/Parser/c2x-auto.c
@@ -64,6 +64,10 @@ auto basic_usage(auto auto) { // c23-error {{'auto' not allowed in function pr
64
65
constexpr auto int x = 0; // c23-error {{cannot combine with previous 'auto' declaration specifier}} \
66
c17-error {{use of undeclared identifier 'constexpr'}}
67
+
68
+ constexpr int auto y = 0; // c23-error {{cannot combine with previous 'int' declaration specifier}} \
69
+ c17-error {{use of undeclared identifier 'constexpr'}}
70
71
return c;
72
}
73
0 commit comments