File tree 28 files changed +1
-38
lines changed
compiler-rt-works-on-mingw
extern-fn-with-extern-types
extern-fn-with-packed-struct
interdependent-c-libraries
28 files changed +1
-38
lines changed Original file line number Diff line number Diff line change 21
21
// OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
22
22
// SUCH DAMAGE.
23
23
24
- // Appease Rust's tidy.
25
- // ignore-license
26
-
27
24
#[ cfg( feature = "bitflags" ) ]
28
25
use bitflags:: bitflags;
29
26
Original file line number Diff line number Diff line change 26
26
// Source: https://github.com/NuxiNL/cloudabi
27
27
28
28
// Appease Rust's tidy.
29
- // ignore-license
30
29
// ignore-tidy-linelength
31
30
32
31
//! **PLEASE NOTE: This entire crate including this
Original file line number Diff line number Diff line change 1
1
/// Some doc comment.
2
2
struct X ;
3
3
4
- // ignore-license
5
-
6
- // http://rust-lang.org/COPYRIGHT.
7
- //
8
-
9
4
// pp-exact
10
5
11
6
// Test that rust can properly pretty print a doc comment if it's the first line in a file. some
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
#ifdef _WIN32
3
2
__declspec(dllexport )
4
3
#endif
Original file line number Diff line number Diff line change 1
- // ignore-license
2
-
3
1
#ifdef _WIN32
4
2
__declspec(dllexport )
5
3
#endif
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void foo ();
3
2
4
3
int main () {
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void foo ();
3
2
4
3
int main () {
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
int foo () { return 0 ; }
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
int foo () { return 0 ; }
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
extern " C" void foo () {
3
2
int *a = new int (3 );
4
3
delete a;
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
#include <stdint.h>
3
2
4
3
typedef struct TestStruct {
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
#include <stdint.h>
3
2
4
3
uint32_t foo ();
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
#include <stdio.h>
3
2
#include <stdint.h>
4
3
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
// Pragma needed cause of gcc bug on windows: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52991
3
2
4
3
#include <assert.h>
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
#include <stdio.h>
3
2
#include <stdint.h>
4
3
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void args_check ();
3
2
4
3
int main () {
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void foo ();
3
2
4
3
void bar () { foo (); }
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void foo () {}
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
#include <stddef.h>
3
2
#include <stdint.h>
4
3
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
int should_return_one () { return 1 ; }
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
int should_return_one () { return 0 ; }
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
#include <stdint.h>
3
2
4
3
extern int32_t BAZ ;
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void foo ();
3
2
4
3
int main () {
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void bar () {}
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void bar () {}
Original file line number Diff line number Diff line change 1
- // ignore-license
2
1
void overflow ();
3
2
4
3
int main () {
Original file line number Diff line number Diff line change 3
3
#![ allow( stable_features) ]
4
4
#![ feature( rust1) ]
5
5
pub fn main ( ) { }
6
- // ignore-license
Original file line number Diff line number Diff line change 1
1
// run-pass
2
- // ignore-tidy-cr ignore-license
2
+ // ignore-tidy-cr
3
3
// ignore-tidy-cr (repeated again because of tidy bug)
4
4
// license is ignored because tidy can't handle the CRLF here properly.
5
5
6
- // http://rust-lang.org/COPYRIGHT.
7
- //
8
-
9
6
// N.B., this file needs CRLF line endings. The .gitattributes file in
10
7
// this directory should enforce it.
11
8
You can’t perform that action at this time.
0 commit comments