OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr44038.c] - Blame information for rev 745

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 688 jeremybenn
struct Ustr {
2
    char data[1];
3
};
4
int ustr_xi__embed_val_get(char *);
5
inline static int ustr_len(struct Ustr *s1)
6
{
7
  return ustr_xi__embed_val_get(s1->data);
8
}
9
static struct Ustr *s1 = ((struct Ustr *) "");
10
int tst(char *cstr)
11
{
12
  return ustr_len(s1);
13
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.