llvm-for-llvmta/tools/clang/test/Sema/attr-alias.c

6 lines
182 B
C
Raw Permalink Normal View History

2022-04-25 13:02:35 +02:00
// 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}}