Mercurial > hg > CbC > CbC_llvm
view clang/test/PCH/multiple_decls.c @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 1d019706d866 |
children |
line wrap: on
line source
// Test this without pch. // RUN: %clang_cc1 -include %S/multiple_decls.h -fsyntax-only -ast-print -o - %s // Test with pch. // RUN: %clang_cc1 -emit-pch -o %t %S/multiple_decls.h // RUN: %clang_cc1 -include-pch %t -fsyntax-only -ast-print -o - %s void f0(char c) { wide(c); } struct wide w; struct narrow n; void f1(int i) { narrow(i); }