1*67e74705SXin Li // RUN: %clang_cc1 -triple x86_64-apple-darwin -fsyntax-only -verify %s 2*67e74705SXin Li g()3*67e74705SXin Livoid g() {} 4*67e74705SXin Li 5*67e74705SXin Li // It is important that the following string be in the error message. The gcc 6*67e74705SXin Li // testsuite looks for it to decide if a target supports aliases. 7*67e74705SXin Li 8*67e74705SXin Li void f() __attribute__((alias("g"))); //expected-error {{only weak aliases are supported}} 9