Skip to content

Commit 33214b6

Browse files
committed
Change test expectations
1 parent 6c42cbd commit 33214b6

14 files changed

Lines changed: 14 additions & 13 deletions

tests/unit/union_addrof_external.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// translation-fail: refcount
22
#include <assert.h>
33
#include <stddef.h>
44
#include <stdint.h>

tests/unit/union_basic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// no-compile: refcount
12
#include <assert.h>
23

34
union basic {

tests/unit/union_cross_arm_cast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile: refcount
22
#include <assert.h>
33
#include <stddef.h>
44
#include <stdint.h>

tests/unit/union_field_alignment.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile: refcount
22
#include <assert.h>
33
#include <stddef.h>
44
#include <stdint.h>

tests/unit/union_flex_array_member.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile
22
#include <assert.h>
33
#include <stddef.h>
44
#include <stdint.h>

tests/unit/union_memset_memcpy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile: refcount
22
#include <assert.h>
33
#include <stddef.h>
44
#include <stdint.h>

tests/unit/union_nested.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile: refcount
22
#include <assert.h>
33
#include <stdint.h>
44
#include <string.h>

tests/unit/union_pointer_pun_address.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile: refcount
22
#include <assert.h>
33

44
struct node_a {

tests/unit/union_pointer_pun_writethrough.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile: refcount
22
#include <assert.h>
33

44
int main(void) {

tests/unit/union_struct_dual_use.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// translation-fail
1+
// no-compile: refcount
22
#include <assert.h>
33
#include <string.h>
44

0 commit comments

Comments
 (0)