1 /* { dg-options "-Wmisleading-indentation" } */
2 /* { dg-do compile } */
3 
4 /* Based on get_attr_athlon_decode from the generated insn-attrtab.c
5    for x86_64.
6    A #line directive, followed by a very long line to ensure that
7    we're in a fresh line_map.
8 
9    This should not generate a misleading indentation warning.
10 
11    This needs to be in its own file since -Wmisleading-indentation stops
12    after seeing a #line directive.  */
fn()13 void fn ()
14 {
15   switch (0)
16     {
17 #line 6 "../../../../src/gcc/testsuite/c-c++-common/Wmisleading-indentation-2.md"
18     case 0:
19       if (0)
20         {
21 	  return;
22         }
23 
24     case 1:
25       if (0)
26         {
27 	  return;
28         }
29       else
30         {
31 	  return;
32         }
33 
34       /**********************************************************************************************************************************/
35       if (0)
36         {
37 	  return;
38         }
39       else if (0)
40         {
41 	  return;
42         }
43       else if (0)
44         {
45 	  return;
46         }
47       else
48         {
49 	  return;
50         }
51 
52     default:
53       return;
54 
55     }
56 }
57