comparison clang/test/PCH/crash-12631281.cpp @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
1 // RUN: %clang_cc1 -std=c++11 %s -emit-pch -o %t.pch 1 // RUN: %clang_cc1 -std=c++11 %s -emit-pch -o %t.pch
2 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -include-pch %t.pch -verify 2 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -include-pch %t.pch -verify
3
4 // RUN: %clang_cc1 -std=c++11 %s -emit-pch -fpch-instantiate-templates -o %t.pch
5 // RUN: %clang_cc1 -fsyntax-only -std=c++11 %s -include-pch %t.pch -verify
6
3 // expected-no-diagnostics 7 // expected-no-diagnostics
4 8
5 // rdar://12631281 9 // rdar://12631281
6 // This reduced test case exposed a use-after-free memory bug, which was reliable 10 // This reduced test case exposed a use-after-free memory bug, which was reliable
7 // reproduced only on guarded malloc (and probably valgrind). 11 // reproduced only on guarded malloc (and probably valgrind).