blob: a2ce62e2d45f02786cdd36084ab3b17ffb5d48a1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#define MAX123 10
int fun1(const int x,int*** y);
int c=1;
void func3(int *ptr) __attribute__((nonnull (1)));
void func3(int *ptr)
{
*ptr=10;
}
int main()
{
fun1(1,(int***)2);
func3(0);
return 1;
}
void fun(int a , int b)
{
if (a==0)
a=(a+b)*c;
else
b=1;
}
int fun1(const int x,int*** y)
{
int a=0;int b=1;
c=b;
fun(0,1);
if(a==0)
return a+b;
else return MAX123;
}
long fun2(const char* zz) { return (long)zz; }
|