forked from OSchip/llvm-project
17 lines
328 B
C
17 lines
328 B
C
|
// RUN: %clang_cc1 -triple x86_64 -emit-llvm %s -o /dev/null
|
||
|
|
||
|
// This test should not exhibit use-after-free in LoopInfo.
|
||
|
|
||
|
int a() {
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
for (;;)
|
||
|
;
|
||
|
}
|