This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/tests/testsuite/features2.rs b/tests/testsuite/features2.rs | |
| index 3790ab4be..98cce9a9e 100644 | |
| --- a/tests/testsuite/features2.rs | |
| +++ b/tests/testsuite/features2.rs | |
| @@ -1749,3 +1749,85 @@ foo v0.1.0 ([..]/foo) | |
| ) | |
| .run(); | |
| } | |
| +#[cargo_test] | |
| +fn test_proc_macro() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foo.o: file format mach-o 64-bit x86-64 | |
| Disassembly of section __TEXT,__text: | |
| 0000000000000000 <_foo>: | |
| ./build/bin/llvm-objdump: warning: 'foo.o': failed to parse debug information for foo.o | |
| 0: b8 08 20 00 00 movl $8200, %eax | |
| 5: e8 00 00 00 00 callq 0xa <_foo+0xa> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| target triple = "x86_64-apple-macosx10.7.0" | |
| define void @foo() #0 { | |
| start: | |
| %_huge_stack = alloca [1024 x i64], align 8 | |
| call void @bar() | |
| ret void | |
| } | |
| declare void @bar() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| target triple = "wasm32-unknown-unknown" | |
| define void @bar() #0 { | |
| start: | |
| tail call fastcc void @inline_me() | |
| ret void | |
| } | |
| define internal void @inline_me() { | |
| start: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* -*- mode: C; c-basic-offset: 4; tab-width: 4 -*- | |
| * | |
| * Copyright (c) 2008-2011 Apple Inc. All rights reserved. | |
| * | |
| * @APPLE_LICENSE_HEADER_START@ | |
| * | |
| * This file contains Original Code and/or Modifications of Original Code | |
| * as defined in and that are subject to the Apple Public Source License | |
| * Version 2.0 (the 'License'). You may not use this file except in | |
| * compliance with the License. Please obtain a copy of the License at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (module | |
| (type (;0;) (func)) | |
| (func (;0;) (type 0) | |
| ref.null func | |
| ref.is_null drop)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (module | |
| (func | |
| ref.null func | |
| ref.is_null | |
| drop)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const a = new FinalizationRegistry(v => { | |
| console.log('a'); | |
| console.log('b', v); | |
| for (const val in v) { | |
| console.log(val); | |
| } | |
| }); | |
| function f() { | |
| const obj = {a: 3}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #![crate_type = "rlib"] | |
| pub enum Code { | |
| A0, | |
| A1, | |
| A2, | |
| A3, | |
| A4, | |
| A5, | |
| A6, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #![crate_type = "rlib"] | |
| pub enum Code { | |
| A0, | |
| A1, | |
| A2, | |
| A3, | |
| A4, | |
| A5, | |
| A6, | |
| A7, |