+static
+void test_build_cds_list_head_init(void)
+{
+ /* Test that the CDS_LIST_HEAD_INIT macro builds correctly. */
+ struct struct_with_list {
+ struct cds_list_head head;
+ };
+
+ struct struct_with_list list = {
+ .head = CDS_LIST_HEAD_INIT(list.head),
+ };
+}
+