Mercurial > hg > CbC > CbC_llvm
view clang/test/PCH/cxx-attrs-packexpansion.cpp @ 180:680fa57a2f20
fix compile errors.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 30 May 2020 17:44:06 +0900 |
parents | 0572611fdcc8 |
children |
line wrap: on
line source
// Test this without pch. // RUN: %clang_cc1 -include %s -emit-llvm -o - %s // Test with pch. // RUN: %clang_cc1 -emit-pch -o %t %s // RUN: %clang_cc1 -include-pch %t -emit-llvm -o - %s #ifndef HEADER #define HEADER template<typename T, typename... Types> struct static_variant { alignas(Types...) T storage[10]; }; #else struct A { static_variant<int> a; }; struct B { static_variant<A> _b; }; #endif