blob: 08eb669265f71ab0356443eec4b3f1a1f64b07ac [file] [log] [blame]
Tim Northovera2ee4332014-03-29 15:09:45 +00001// RUN: %clang_cc1 -triple arm64-apple-ios7.1 -fsyntax-only -verify %s
James Molloy8bdd24b2014-04-23 10:26:19 +00002// expected-no-diagnostics
3
Tim Northovera2ee4332014-03-29 15:09:45 +00004void foo() {
5 asm volatile("USE(%0)" :: "z"(0LL));
6 asm volatile("USE(%x0)" :: "z"(0LL));
7 asm volatile("USE(%w0)" :: "z"(0));
8
Tim Northovera2ee4332014-03-29 15:09:45 +00009}