summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/varargs-x86-32.c
blob: 6f57022ffcbf4a34593c72d581686856c9243618 (plain)
1
2
3
4
5
// RUN: %clang_cc1 -fsyntax-only -verify %s -triple i386-apple-darwin9

void foo(int a, ...) {
  __builtin_ms_va_start((void *)0, a); // expected-error {{this builtin is only available on x86-64 targets}}
}
OpenPOWER on IntegriCloud