diff --git a/tests/expectations/both/global_attr.c b/tests/expectations/both/global_attr.c new file mode 100644 index 0000000..e26b4c5 --- /dev/null +++ b/tests/expectations/both/global_attr.c @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/tests/expectations/both/nested_import.c b/tests/expectations/both/nested_import.c new file mode 100644 index 0000000..e26b4c5 --- /dev/null +++ b/tests/expectations/both/nested_import.c @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/tests/expectations/global_attr.c b/tests/expectations/global_attr.c new file mode 100644 index 0000000..e26b4c5 --- /dev/null +++ b/tests/expectations/global_attr.c @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/tests/expectations/global_attr.cpp b/tests/expectations/global_attr.cpp new file mode 100644 index 0000000..6c1e42e --- /dev/null +++ b/tests/expectations/global_attr.cpp @@ -0,0 +1,6 @@ +#include +#include + +extern "C" { + +} // extern "C" diff --git a/tests/expectations/nested_import.c b/tests/expectations/nested_import.c new file mode 100644 index 0000000..e26b4c5 --- /dev/null +++ b/tests/expectations/nested_import.c @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/tests/expectations/nested_import.cpp b/tests/expectations/nested_import.cpp new file mode 100644 index 0000000..6c1e42e --- /dev/null +++ b/tests/expectations/nested_import.cpp @@ -0,0 +1,6 @@ +#include +#include + +extern "C" { + +} // extern "C" diff --git a/tests/expectations/tag/global_attr.c b/tests/expectations/tag/global_attr.c new file mode 100644 index 0000000..e26b4c5 --- /dev/null +++ b/tests/expectations/tag/global_attr.c @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/tests/expectations/tag/nested_import.c b/tests/expectations/tag/nested_import.c new file mode 100644 index 0000000..e26b4c5 --- /dev/null +++ b/tests/expectations/tag/nested_import.c @@ -0,0 +1,3 @@ +#include +#include +#include diff --git a/tests/rust/global_attr.rs b/tests/rust/global_attr.rs new file mode 100644 index 0000000..15afd03 --- /dev/null +++ b/tests/rust/global_attr.rs @@ -0,0 +1 @@ +#![allow(unused_variables)] diff --git a/tests/rust/nested_import.rs b/tests/rust/nested_import.rs new file mode 100644 index 0000000..e080d88 --- /dev/null +++ b/tests/rust/nested_import.rs @@ -0,0 +1 @@ +use std::{result, marker::PhantomData};