aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>2023-11-22 11:12:05 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-30 12:36:47 +0100
commitac501a75b263a7dd7fa437c01aae53d41e30a515 (patch)
treea5b10454adc51f51ed74de365f7b63c83220fccc /gcc/c
parent04b3089a47c5ccfb86b29a9c64157d5d4f755c1c (diff)
downloadgcc-ac501a75b263a7dd7fa437c01aae53d41e30a515.zip
gcc-ac501a75b263a7dd7fa437c01aae53d41e30a515.tar.gz
gcc-ac501a75b263a7dd7fa437c01aae53d41e30a515.tar.bz2
gccrs: Add a regression test for async const functions
Functions that are both async and const shall be rejected during the AST validation pass. This new test highlight this behavior. gcc/testsuite/ChangeLog: * rust/compile/const_async_function.rs: New test. Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions