summaryrefslogtreecommitdiff
path: root/support/regression/tests/bug-2973.c
blob: 3fecf8c9188fef8094d225009a3019ea3033fe60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*
    bug-2973.c
*/

#include <testfwk.h>

typedef int *foo_t;

void f(const foo_t x)
{
  *x = 1;
}

// nothing to run - bug is a compilation failure

void testBug (void)
{
}