repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_trivially_constructible2.C
blob
4e0a657eaff00ea8abbe899acd26a62fa7473ffb
1
// { dg-do compile { target c++11 } }
2
3
struct X {
4
X() = default;
5
template<class... U> X(U...);
6
};
7
8
struct Y {
9
template<class... U> Y(U...);
10
};
11
12
#define SA(X) static_assert((X),#X)
13
14
SA(__is_trivially_constructible(X));
15
SA(!__is_trivially_constructible(Y));