• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download

foo(int p)1 int foo(int p)
2 {
3 	if (p == 3)
4 		__builtin_unreachable();
5 	return p;
6 }
7 
8 /*
9  * check-name: builtin_unreachable0
10  * check-command: test-linearize -Wno-decl $file
11  *
12  * check-output-start
13 foo:
14 .L0:
15 	<entry-point>
16 	seteq.32    %r2 <- %arg1, $3
17 	cbr         %r2, .L1, .L2
18 
19 .L1:
20 	unreachable
21 
22 .L2:
23 	ret.32      %arg1
24 
25 
26  * check-output-end
27  */
28