PR sanitizer/85029
[official-gcc.git] / gcc / testsuite / gcc.dg / pr27150-1.c
blob5a00cf9f90fb7cf6536553a483c90a0eaedbbf02
1 /* { dg-do link } */
2 /* { dg-options "-O2" } */
3 extern int link_error ();
4 int g(int f)
6 int a = ((&f)!=0);
7 if (!a) link_error ();
8 return a;
11 int main()
13 g(10);