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,9 +1,11 @@
//@ compile-flags: -C debuginfo=2
// ignore-tidy-linelength
//! Checks that visibility information is present in the debuginfo for crate-visibility enums.
#![allow(dead_code)]
//@ revisions: MSVC NONMSVC
//@[MSVC] only-msvc
//@[NONMSVC] ignore-msvc
// Checks that visibility information is present in the debuginfo for crate-visibility enums.
//@ compile-flags: -C debuginfo=2
mod module {
use std::hint::black_box;