llvm-project/clang/test/Sema/attr-alias.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
182 B
C
Raw Normal View History

// 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}}