Add a test for bug 889832

This commit is contained in:
Sylvestre Ledru 2018-11-01 13:27:29 +01:00
parent 462a331fbe
commit 25526d0a90

View File

@ -255,6 +255,10 @@ clang++-$VERSION -std=c++11 -stdlib=libc++ foo.cpp -o o
clang++-$VERSION -std=c++14 -stdlib=libc++ foo.cpp -lc++experimental -o o
./o > /dev/null
# Bug 889832
echo '#include <iostream>
int main() {}' | clang++-$VERSION -std=c++1z -x c++ -stdlib=libc++ -
if test ! -f /usr/lib/llvm-$VERSION/include/cxxabi.h; then
echo "Install libc++abi-$VERSION-dev";
exit -1;