aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-macro.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-16 09:48:58 +0000
committerGitHub <noreply@github.com>2022-02-16 09:48:58 +0000
commit330b265134afd12e06884205e7b77334393864b8 (patch)
tree8efd84f917a1a684e0813b55c552f140e89337d2 /gcc/rust/ast/rust-macro.h
parentc7275a7fb89f324e7cd7881d12a49287a89f1c74 (diff)
parent08dbb4e32263e611691dc73519b95a97e638fb41 (diff)
downloadgcc-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