Skip to content

Commit 81cae1f

Browse files
author
Pascal Beyer
committed
Checkin two tests that were lying around.
1 parent 4e01a23 commit 81cae1f

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
// fail "Error at 'type'"
2+
3+
// This should fail because 'type' is undeclared, but currently fails because 'structure' is undeclared.
4+
// This is now fixed, so here is a regression test :)
5+
6+
struct structure{ type a; };
7+
struct structure arst;
8+
9+
int main(){}
10+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// fail "This should error"
2+
3+
#if 18446744073709551615 > 123
4+
#error This should error
5+
#endif
6+
7+
int main(){
8+
9+
}
10+
11+

0 commit comments

Comments
 (0)