1
Fork 0

Explicitly register MSVC/NONMSVC revisions for some codegen tests

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-12-18 20:24:30 +08:00
parent aaca9fa482
commit 5415f067bd
11 changed files with 76 additions and 50 deletions

View file

@ -1,8 +1,12 @@
// This test makes sure that the coroutine field capturing the awaitee in a `.await` expression
// is called "__awaitee" in debuginfo. This name must not be changed since debuggers and debugger
// extensions rely on the field having this name.
// ignore-tidy-linelength
//! This test makes sure that the coroutine field capturing the awaitee in a `.await` expression
//! is called `__awaitee` in debuginfo. This name must not be changed since debuggers and debugger
//! extensions rely on the field having this name.
//@ revisions: MSVC NONMSVC
//@[MSVC] only-msvc
//@[NONMSVC] ignore-msvc
//@ compile-flags: -C debuginfo=2 --edition=2018 -Copt-level=0
#![crate_type = "lib"]