Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Fix static_assert() usage
  • Loading branch information
vstinner committed Jun 20, 2022
commit b486600fe9264faa086666cf5517f7f65ed42838
2 changes: 1 addition & 1 deletion Modules/_testcapimodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -6081,7 +6081,7 @@ test_macros(PyObject *self, PyObject *Py_UNUSED(args))
wchar_t array[3];

// static_assert(), Py_BUILD_ASSERT()
static_assert(1 == 1);
static_assert(1 == 1, "bug");
Py_BUILD_ASSERT(1 == 1);


Expand Down