Skip to content
Closed
Show file tree
Hide file tree
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
DO NOT MERGE testing
  • Loading branch information
tgross35 committed Oct 28, 2025
commit 513513d39c48cfcf33797696b4a0876bd10e8814
6 changes: 3 additions & 3 deletions ctest/templates/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ ctest_field_ptr__{{ item.id }}__{{ item.field.ident() }}({{ item.c_ty }} *b) {

#ifdef __GNUC__
// GCC emits a warning with `-Wextra` if we return a typedef to a type marked `volatile`.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
// #pragma GCC diagnostic push
// #pragma GCC diagnostic ignored "-Wignored-qualifiers"
#endif

{%- for item in ctx.roundtrip_tests +%}
Expand Down Expand Up @@ -140,7 +140,7 @@ CTEST_EXTERN {{ item.c_ty }} ctest_roundtrip__{{ item.id }}(

#ifdef __GNUC__
// Pop allow for `-Wignored-qualifiers`
#pragma GCC diagnostic pop
// #pragma GCC diagnostic pop
#endif

#ifdef _MSC_VER
Expand Down
6 changes: 3 additions & 3 deletions ctest/tests/input/hierarchy.out.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ CTEST_EXTERN uint32_t ctest_signededness_of__in6_addr(void) {

#ifdef __GNUC__
// GCC emits a warning with `-Wextra` if we return a typedef to a type marked `volatile`.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
// #pragma GCC diagnostic push
// #pragma GCC diagnostic ignored "-Wignored-qualifiers"
#endif

// Tests whether the struct/union/alias `x` when passed by value to C and back to Rust
Expand Down Expand Up @@ -78,7 +78,7 @@ CTEST_EXTERN in6_addr ctest_roundtrip__in6_addr(

#ifdef __GNUC__
// Pop allow for `-Wignored-qualifiers`
#pragma GCC diagnostic pop
// #pragma GCC diagnostic pop
#endif

#ifdef _MSC_VER
Expand Down
6 changes: 3 additions & 3 deletions ctest/tests/input/macro.out.c
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ ctest_field_ptr__VecU16__y(struct VecU16 *b) {

#ifdef __GNUC__
// GCC emits a warning with `-Wextra` if we return a typedef to a type marked `volatile`.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
// #pragma GCC diagnostic push
// #pragma GCC diagnostic ignored "-Wignored-qualifiers"
#endif

// Tests whether the struct/union/alias `x` when passed by value to C and back to Rust
Expand Down Expand Up @@ -175,7 +175,7 @@ CTEST_EXTERN struct VecU16 ctest_roundtrip__VecU16(

#ifdef __GNUC__
// Pop allow for `-Wignored-qualifiers`
#pragma GCC diagnostic pop
// #pragma GCC diagnostic pop
#endif

#ifdef _MSC_VER
Expand Down
6 changes: 3 additions & 3 deletions ctest/tests/input/simple.out.with-renames.c
Original file line number Diff line number Diff line change
Expand Up @@ -228,8 +228,8 @@ ctest_field_ptr__Word__byte(union Word *b) {

#ifdef __GNUC__
// GCC emits a warning with `-Wextra` if we return a typedef to a type marked `volatile`.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
// #pragma GCC diagnostic push
// #pragma GCC diagnostic ignored "-Wignored-qualifiers"
#endif

// Tests whether the struct/union/alias `x` when passed by value to C and back to Rust
Expand Down Expand Up @@ -369,7 +369,7 @@ CTEST_EXTERN union Word ctest_roundtrip__Word(

#ifdef __GNUC__
// Pop allow for `-Wignored-qualifiers`
#pragma GCC diagnostic pop
// #pragma GCC diagnostic pop
#endif

#ifdef _MSC_VER
Expand Down
6 changes: 3 additions & 3 deletions ctest/tests/input/simple.out.with-skips.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ CTEST_EXTERN uint32_t ctest_signededness_of__volatile_char(void) {

#ifdef __GNUC__
// GCC emits a warning with `-Wextra` if we return a typedef to a type marked `volatile`.
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wignored-qualifiers"
// #pragma GCC diagnostic push
// #pragma GCC diagnostic ignored "-Wignored-qualifiers"
#endif

// Tests whether the struct/union/alias `x` when passed by value to C and back to Rust
Expand Down Expand Up @@ -70,7 +70,7 @@ CTEST_EXTERN volatile_char ctest_roundtrip__volatile_char(

#ifdef __GNUC__
// Pop allow for `-Wignored-qualifiers`
#pragma GCC diagnostic pop
// #pragma GCC diagnostic pop
#endif

#ifdef _MSC_VER
Expand Down
Loading