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