summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/arm/symbian2.c
blob: 98701636875222bd6a66ea01c150b4d978422914 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile { target arm*-*-symbianelf* } } */
/* { dg-options "-O2" } */

/* Symbian OS requires that builtins not be expanded by default.  Make
   sure that a reference to "strlen" is emitted.  */
/* { dg-final { scan-assembler "strlen" } } */

int f() {
  return strlen("abc");
}