While there add a test that verifies that the header parses in C++ mode.
llvm-svn: 164679
-// RUN: %clang -target arm-unknown-linux-gnueabi %s -fsyntax-only -o -
-// RUN: %clang -target i686-unknown-linux %s -fsyntax-only -o -
+// RUN: %clang -target arm-unknown-linux-gnueabi -ffreestanding -fsyntax-only %s
+// RUN: %clang -target i686-unknown-linux -ffreestanding -fsyntax-only %s
+// RUN: %clang -ffreestanding -fsyntax-only -x c++ %s
#include "unwind.h"
-// CHECK-NOT: error
-// CHECK-NOT: warning