Add ui test emit-output-types-without-args.rs

Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
This commit is contained in:
xizheyin 2025-04-20 19:39:09 +08:00
parent 49e5e4e3a5
commit 4c20d17365
No known key found for this signature in database
GPG key ID: 0A0D90BE99CEDEAD
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1 @@
//@ compile-flags: --emit

View file

@ -0,0 +1,6 @@
error: Argument to option 'emit' missing
Usage:
--emit [asm|llvm-bc|llvm-ir|obj|metadata|link|dep-info|mir]
Comma separated list of types of output for the
compiler to emit