Skip to content

Commit caaed5c

Browse files
committed
CI Add singleton test files missing for some compilers
1 parent 83582ad commit caaed5c

15 files changed

+34
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
oh look, a thrown int: 42
2+
oh look, another exception
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
oh look, a thrown int: 42
2+
oh look, another exception
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
oh look, a thrown int: 42
2+
oh look, another exception
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
oh look, a thrown int: 42
2+
oh look, another exception
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
42
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
pure2-singleton-and-static.cpp2:8:21: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result]
2+
8 | CPP2_UFCS(print)(test::instance());
3+
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
4+
1 warning generated.

0 commit comments

Comments
 (0)