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 99e57f0 commit 3930e33Copy full SHA for 3930e33
clang/test/AST/Interp/functions.cpp
@@ -150,15 +150,15 @@ namespace FunctionReturnType {
150
151
return m;
152
}
153
- static_assert(foo() == 10);
+ static_assert(foo() == 10, "");
154
155
struct S {
156
int i;
157
void (*fp)();
158
};
159
160
constexpr S s{ 12 };
161
- static_assert(s.fp == nullptr); // zero-initialized function pointer.
+ static_assert(s.fp == nullptr, ""); // zero-initialized function pointer.
162
163
164
0 commit comments