• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 extern void def(void *);
2 
3 struct s1 {
4 	int a;
5 };
6 
use1(void)7 int use1(void)
8 {
9 	struct s1 s = { 3 };
10 
11 	def(&s.a);
12 
13 	return s.a;
14 }
15 
16 /*
17  * check-name: eval/addressable-complex
18  * check-command: test-linearize -Wno-decl -fdump-ir $file
19  *
20  * check-output-ignore
21  * check-output-contains: load\\.
22  * check-output-excludes: return\\..*\\$3
23  */
24