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