Home | History | Annotate | Download | only in Sema
      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