blob: b0d6139f0a870f2656d10aa3bea0de05c28daa07 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fstrub=strict" } */
/* { dg-require-effective-target strub } */
typedef void ft (void);
typedef void ft2 (int, int);
extern ft __attribute__ ((__strub__)) fnac;
ft * f (void) {
return fnac; /* { dg-message "incompatible|invalid conversion" } */
}