summaryrefslogtreecommitdiffstats
path: root/test/Sema/attr-alias.c
blob: 93136706a7e54abffce597c8238186cd17b0370d (plain)
1
2
3
4
5
// RUN: %clang_cc1 -triple x86_64-apple-darwin  -fsyntax-only -verify %s

void g() {}

void f() __attribute__((alias("g"))); //expected-error {{aliases are not supported on darwin}}