diff options
| author | Jorge Aparicio <japaricious@gmail.com> | 2016-12-29 23:28:11 -0500 |
|---|---|---|
| committer | Jorge Aparicio <japaricious@gmail.com> | 2017-02-08 18:51:43 -0500 |
| commit | 9af6aa38895d3c1d263c52984666893b9ca22fe1 (patch) | |
| tree | 51de3787fa14cc9ae838d86a366eb5f957c82f58 /src/test/compile-fail | |
| parent | c14f87e3b0823407a91a283796bf78ef83d5fe99 (diff) | |
sanitizer support
Diffstat (limited to 'src/test/compile-fail')
| -rw-r--r-- | src/test/compile-fail/feature-gate-sanitizer-runtime.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/test/compile-fail/feature-gate-sanitizer-runtime.rs b/src/test/compile-fail/feature-gate-sanitizer-runtime.rs new file mode 100644 index 00000000000..a18641d8246 --- /dev/null +++ b/src/test/compile-fail/feature-gate-sanitizer-runtime.rs @@ -0,0 +1,13 @@ +// Copyright 2016 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or +// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license +// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + +#![sanitizer_runtime] //~ ERROR the `#[sanitizer_runtime]` attribute is + +fn main() {} |
