diff --git a/libcxxabi/test/incomplete_type.sh.cpp b/libcxxabi/test/incomplete_type.sh.cpp index 999c172dd5b5e9..20deb16011f0fc 100644 --- a/libcxxabi/test/incomplete_type.sh.cpp +++ b/libcxxabi/test/incomplete_type.sh.cpp @@ -20,8 +20,8 @@ // for shell tests because of Apple security features). // FILE_DEPENDENCIES: %t.exe -// RUN: %{cxx} %{flags} %{compile_flags} -c %s -o %t.one.o -// RUN: %{cxx} %{flags} %{compile_flags} -c %s -o %t.two.o -DTU_ONE +// RUN: %{cxx} %{flags} %{compile_flags} -Wno-unreachable-code -c %s -o %t.one.o +// RUN: %{cxx} %{flags} %{compile_flags} -Wno-unreachable-code -c %s -o %t.two.o -DTU_ONE // RUN: %{cxx} %{flags} %t.one.o %t.two.o %{link_libcxxabi} %{link_flags} -o %t.exe // RUN: %{exec} %t.exe