aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/c-c++-common/torture/strub-callable1.c
blob: 86dbee6746d1b93b10329daa8f395eb519d10dd8 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */
/* { dg-options "-fstrub=strict" } */
/* { dg-require-effective-target strub } */

/* Check that strub and non-strub functions can be called from non-strub
   contexts, and that strub and callable functions can be called from strub
   contexts.  */

#define OMIT_IMPERMISSIBLE_CALLS 1
#include "strub-callable2.c"