1 // RUN: %clang_cc1 -O2 -verify -emit-codegen-only %s
3 __attribute__((error("oh no foo"))) void foo(void);
5 __attribute__((error("oh no bar"))) void bar(void);
11 foo(); // expected-error {{call to 'foo' declared with 'error' attribute: oh no foo}}
16 // FIXME: indirect call detection not yet supported.