diff options
Diffstat (limited to 'tests/tests2')
| -rw-r--r-- | tests/tests2/74_nocode_wanted.c | 1 | ||||
| -rw-r--r-- | tests/tests2/74_nocode_wanted.expect | 1 | ||||
| -rw-r--r-- | tests/tests2/Makefile | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/tests/tests2/74_nocode_wanted.c b/tests/tests2/74_nocode_wanted.c new file mode 100644 index 0000000..e824d02 --- /dev/null +++ b/tests/tests2/74_nocode_wanted.c @@ -0,0 +1 @@ +int i = i++; diff --git a/tests/tests2/74_nocode_wanted.expect b/tests/tests2/74_nocode_wanted.expect new file mode 100644 index 0000000..f060ef4 --- /dev/null +++ b/tests/tests2/74_nocode_wanted.expect @@ -0,0 +1 @@ +74_nocode_wanted.c:1: error: initializer element is not constant diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index 8bf753f..88c3e08 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -93,6 +93,7 @@ TESTS = \ 71_macro_empty_arg.test \ 72_long_long_constant.test \ 73_arm64.test \ + 74_nocode_wanted.test # 34_array_assignment.test -- array assignment is not in C standard |
