summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr44038.c
blob: 574ff398b4270c22681a3e7dbae562c4d66af427 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
struct Ustr {
    char data[1]; 
};
int ustr_xi__embed_val_get(char *);
inline static int ustr_len(struct Ustr *s1)
{
  return ustr_xi__embed_val_get(s1->data);
}
static struct Ustr *s1 = ((struct Ustr *) "");
int tst(char *cstr)
{
  return ustr_len(s1);
}