// Get the CXXRecordDecl associated with QT bypassing 1 level of pointer,
// reference or array type.
-static CXXRecordDecl *GetCXXRecordOfUuidArg(QualType QT)
-{
+static CXXRecordDecl *GetCXXRecordOfUuidArg(QualType QT) {
Type* Ty = QT.getTypePtr();;
if (QT->isPointerType() || QT->isReferenceType())
Ty = QT->getPointeeType().getTypePtr();
// RUN: %clang -c -g %s -o /dev/null
// Radar 8730409
+// XFAIL: win32
// FIXME: This test crashes on Windows.
-#ifndef _WIN32
+#ifdef _WIN32
+#error this test must xfail
+
+#else
class foo {
public:
#define x(a) virtual void v ## a (void)