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 0f424c5 commit 0c02644Copy full SHA for 0c02644
clang/test/AST/Interp/literals.cpp
@@ -1216,7 +1216,7 @@ namespace StmtExprs {
1216
static_assert(foo() == 76, "");
1217
1218
namespace CrossFuncLabelDiff {
1219
- constexpr long a(bool x) { return x ? 0 : (long)&&lbl + (0 && ({lbl: 0;})); }
+ constexpr long a(bool x) { return x ? 0 : (intptr_t)&&lbl + (0 && ({lbl: 0;})); }
1220
}
1221
1222
#endif
0 commit comments