diff clang/test/AST/fixed_point.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children
line wrap: on
line diff
--- a/clang/test/AST/fixed_point.c	Mon May 25 11:55:54 2020 +0900
+++ b/clang/test/AST/fixed_point.c	Tue Jun 08 06:07:14 2021 +0900
@@ -1,4 +1,11 @@
+// Test without serialization:
 // RUN: %clang_cc1 -x c -ffixed-point -ast-dump %s | FileCheck %s --strict-whitespace
+//
+// Test with serialization:
+// RUN: %clang_cc1 -ffixed-point -emit-pch -o %t %s
+// RUN: %clang_cc1 -x c -ffixed-point -include-pch %t -ast-dump-all /dev/null \
+// RUN: | sed -e "s/ <undeserialized declarations>//" -e "s/ imported//" \
+// RUN: | FileCheck %s --strict-whitespace
 
 /*  Various contexts where type _Accum can appear. */