1# Check if clang crash on non-ascii comments 2# See b.android.com/81440 3# 4 5result=$(NDK_TOOLCHAIN_VERSION=clang $NDK/ndk-build -B APP_ABI=armeabi 2>&1) 6echo $result | grep -q "error: expected" 7RET=$? 8rm -rf obj 9 10if [ $RET != 0 ]; then 11 echo "Error: did not find 'error: expected'" 12 echo "Output:" 13 echo $result 14 exit 1 15fi 16 17