diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-02-16 09:48:58 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-16 09:48:58 +0000 |
commit | 330b265134afd12e06884205e7b77334393864b8 (patch) | |
tree | 8efd84f917a1a684e0813b55c552f140e89337d2 /gcc/rust/ast/rust-macro.h | |
parent | c7275a7fb89f324e7cd7881d12a49287a89f1c74 (diff) | |
parent | 08dbb4e32263e611691dc73519b95a97e638fb41 (diff) | |
download | gcc-330b265134afd12e06884205e7b77334393864b8.zip gcc-330b265134afd12e06884205e7b77334393864b8.tar.gz gcc-330b265134afd12e06884205e7b77334393864b8.tar.bz2 |
Merge #926
926: macros: Add multiple macro syntax tests r=CohenArthur a=CohenArthur
This PR adds test cases for macros, including parsing and execution.
I am unsure on how to check for proper execution: The solution I have chosen so far is to make sure that a correct amount of lines is printed, which I'm not entirely satisfied with.
Another solution would be to increase a global integer to use when exiting, which we can then assert on using dejagnu, which is cleaner but relies on unsafe rust code.
Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/ast/rust-macro.h')
0 files changed, 0 insertions, 0 deletions