summaryrefslogtreecommitdiff
path: root/libmudflap/testsuite/libmudflap.c/pass35-frag.c
blob: 14d2c94a9bb5a6519a1e41a1a7f33fce07e6698e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

extern char end [];   /* Any old symbol we're sure will be defined. */
/* { dg-warning "cannot track unknown size extern" "cannot track unknown size extern" { target *-*-* } 0 } */

int main ()
{
/* dummy register */
__mf_register ((void *) end, 1, __MF_TYPE_GUESS, "end");
char z = end[0];
return z & 0;
}