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
* doc/extend.texi (Loop-Specific Pragmas): Document pragma GCC unroll.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
is_base_of_incomplete.C
blob
4704ff5dee123049ce4595f3bd3d1e875f9a8630
1
// PR c++/50732
2
3
template <typename T>
4
struct non_instantiable
5
{
6
typedef typename T::THIS_TYPE_CANNOT_BE_INSTANTIATED type;
7
};
8
9
int check[__is_base_of(non_instantiable<int>, void) ? -1 : 1];