Add test cases for 'sort_by' option
This commit is contained in:
committed by
Emilio Cobos Álvarez
parent
f5edc2c2ab
commit
723e690027
@@ -0,0 +1,12 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void A(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void C(void);
|
||||
|
||||
void D(void);
|
||||
@@ -0,0 +1,20 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void A(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void C(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
@@ -0,0 +1,12 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void C(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
void A(void);
|
||||
@@ -0,0 +1,20 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void C(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
void A(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
@@ -0,0 +1,12 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void A(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void C(void);
|
||||
|
||||
void D(void);
|
||||
@@ -0,0 +1,20 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void A(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void C(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
@@ -0,0 +1,16 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <new>
|
||||
|
||||
extern "C" {
|
||||
|
||||
void A();
|
||||
|
||||
void B();
|
||||
|
||||
void C();
|
||||
|
||||
void D();
|
||||
|
||||
} // extern "C"
|
||||
@@ -0,0 +1,12 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void C(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
void A(void);
|
||||
@@ -0,0 +1,20 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void C(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
void A(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
@@ -0,0 +1,16 @@
|
||||
#include <cstdarg>
|
||||
#include <cstdint>
|
||||
#include <cstdlib>
|
||||
#include <new>
|
||||
|
||||
extern "C" {
|
||||
|
||||
void C();
|
||||
|
||||
void B();
|
||||
|
||||
void D();
|
||||
|
||||
void A();
|
||||
|
||||
} // extern "C"
|
||||
@@ -0,0 +1,12 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void A(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void C(void);
|
||||
|
||||
void D(void);
|
||||
@@ -0,0 +1,20 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void A(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void C(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
@@ -0,0 +1,12 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
void C(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
void A(void);
|
||||
@@ -0,0 +1,20 @@
|
||||
#include <stdarg.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif // __cplusplus
|
||||
|
||||
void C(void);
|
||||
|
||||
void B(void);
|
||||
|
||||
void D(void);
|
||||
|
||||
void A(void);
|
||||
|
||||
#ifdef __cplusplus
|
||||
} // extern "C"
|
||||
#endif // __cplusplus
|
||||
@@ -0,0 +1,15 @@
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C()
|
||||
{ }
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn B()
|
||||
{ }
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn D()
|
||||
{ }
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn A()
|
||||
{ }
|
||||
@@ -0,0 +1,15 @@
|
||||
#[no_mangle]
|
||||
pub extern "C" fn C()
|
||||
{ }
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn B()
|
||||
{ }
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn D()
|
||||
{ }
|
||||
|
||||
#[no_mangle]
|
||||
pub extern "C" fn A()
|
||||
{ }
|
||||
@@ -0,0 +1,2 @@
|
||||
[fn]
|
||||
sort_by = "None"
|
||||
Reference in New Issue
Block a user