summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/lib/java/security/ProtectionDomain.class
diff options
context:
space:
mode:
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-07 08:03:33 +0000
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-07 08:03:33 +0000
commitaa8bfe5df93737d1c46bc234369f664afa75ee8e (patch)
tree9b289b525a47a504b542d1b8e5f6ac7cbebcb50e /libjava/classpath/lib/java/security/ProtectionDomain.class
parent7aab08a2b6a392510877a2cd639fea16b478f7d4 (diff)
downloadppe42-gcc-aa8bfe5df93737d1c46bc234369f664afa75ee8e.tar.gz
ppe42-gcc-aa8bfe5df93737d1c46bc234369f664afa75ee8e.zip
PR c++/52343 - error with alias template as template template argument
In the example accompanying this patch, check_instantiated_arg tries to ensure that a non-type template argument should be a constant if it has integral or enumeration type. The problem is that an alias template which type-id is, e.g, an integer, looks like an argument that has integral/enumeration type: its TREE_TYPE is an integer type. So check_instantiated_arg mistenkaly barks that this integral non-type argument is not a constant. Bootstrapped and tested on x86_64-unknown-linux-gnu against trunk. gcc/cp/ PR c++/52343 * pt.c (check_instantiated_arg): Allow type template arguments. gcc/testsuite/ PR c++/52343 * g++.dg/cpp0x/alias-decl-29.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194960 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/java/security/ProtectionDomain.class')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud