xref: /minix3/external/bsd/llvm/dist/clang/test/Sema/attr-alias.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin  -fsyntax-only -verify %s
2 
3 void g() {}
4 
5 // It is important that the following string be in the error message. The gcc
6 // testsuite looks for it to decide if a target supports aliases.
7 
8 void f() __attribute__((alias("g"))); //expected-error {{only weak aliases are supported}}
9