1 // RUN: %clang_cc1 -triple x86_64 -emit-llvm %s -o /dev/null
2 
3 // This test should not exhibit use-after-free in LoopInfo.
4 
5 int a() {
6   for (;;)
7     for (;;)
8       for (;;)
9         for (;;)
10           for (;;)
11             for (;;)
12               for (;;)
13                 for (;;)
14                   for (;;)
15                     ;
16 }
17