mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-25 16:24:46 +00:00
6 lines
197 B
Rust
6 lines
197 B
Rust
// compile-flags: --crate-version=<script>alert("hi")</script> -Z unstable-options
|
|
|
|
#![crate_name = "foo"]
|
|
|
|
// @has 'foo/index.html' '//li[@class="version"]' 'Version <script>alert("hi")</script>'
|