// RUN: %clang_cc1 -fsyntax-only -triple thumbv7--windows-msvc19.11.0 -verify %s
// RUN: %clang_cc1 -fsyntax-only -triple armv7--windows-msvc19.11.0 -DARM -verify %s
// expected-no-diagnostics
// ARM does match arm and thumb.
// ARMV7 does match armv7 and thumbv7.
// ARMV6 does not match armv7 or thumbv7.
// Allow checking for precise arch + subarch.
// But also allow checking for the arch without subarch.
// Same arch with a different subarch doesn't match.