| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s -triple i386-apple-darwin9 |
|---|---|
| 2 | |
| 3 | void foo(int a, ...) { |
| 4 | __builtin_ms_va_start((void *)0, a); // expected-error {{this builtin is only available on x86-64 and aarch64 targets}} |
| 5 | } |
| 6 |
| 1 | // RUN: %clang_cc1 -fsyntax-only -verify %s -triple i386-apple-darwin9 |
|---|---|
| 2 | |
| 3 | void foo(int a, ...) { |
| 4 | __builtin_ms_va_start((void *)0, a); // expected-error {{this builtin is only available on x86-64 and aarch64 targets}} |
| 5 | } |
| 6 |