While there add a test that verifies that the header parses in C++ mode.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164679
91177308-0d34-0410-b5e6-
96231b3b80d8
-// 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