blob: 04bb85e4dbb15f1caa607de697859f310734634a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
static __attribute__((__pure__)) int pure1(void)
{
int i = 0;
return i;
}
static __attribute__((__pure__)) void *pure2(void)
{
void *i = (void *)0;
return i;
}
/*
* check-name: Pure function attribute
*/
|