Skip to content

Commit

Permalink
Update testtokenize.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github authored Apr 10, 2024
1 parent 2503a24 commit 85d940b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/testtokenize.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,8 @@ class TestTokenizer : public TestFixture {
ASSERT_EQUALS("int x [ 10 ] ;", tokenizeAndStringify("int x[10]@0x100;"));

ASSERT_EQUALS("interrupt@ f ( ) { }", tokenizeAndStringify("@interrupt f() {}"));

ASSERT_EQUALS("const short MyVariable = 0xF0F0 ;", tokenizeAndStringify("const short MyVariable @ \"MYOWNSECTION\" = 0xF0F0; ")); // #12602
}

void inlineasm() {
Expand Down

0 comments on commit 85d940b

Please sign in to comment.