about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorbjorn3 <bjorn3@users.noreply.github.com>2021-12-20 18:49:43 +0100
committerbjorn3 <bjorn3@users.noreply.github.com>2021-12-20 18:49:43 +0100
commit97e504549371d7640cf011d266e3c17394fdddac (patch)
tree701118d2ee37ea5fa7c5ad3655d4ef9d6ccf8e84 /scripts
parentf557a7effb68fe580ec6d09f3072380ff5e1044d (diff)
downloadrust-97e504549371d7640cf011d266e3c17394fdddac.tar.gz
rust-97e504549371d7640cf011d266e3c17394fdddac.zip
Fix taking address of truly unsized type field of unsized adt
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/tests.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/tests.sh b/scripts/tests.sh
index 28a7980d661..fd2b3761ff0 100755
--- a/scripts/tests.sh
+++ b/scripts/tests.sh
@@ -35,6 +35,10 @@ function base_sysroot_tests() {
     $MY_RUSTC example/arbitrary_self_types_pointers_and_wrappers.rs --crate-name arbitrary_self_types_pointers_and_wrappers --crate-type bin --target "$TARGET_TRIPLE"
     $RUN_WRAPPER ./target/out/arbitrary_self_types_pointers_and_wrappers
 
+    echo "[AOT] issue_91827_extern_types"
+    $MY_RUSTC example/issue-91827-extern-types.rs --crate-name issue_91827_extern_types --crate-type bin --target "$TARGET_TRIPLE"
+    $RUN_WRAPPER ./target/out/issue_91827_extern_types
+
     echo "[AOT] alloc_system"
     $MY_RUSTC example/alloc_system.rs --crate-type lib --target "$TARGET_TRIPLE"