OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/52685
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
arg5.C
1
// PR c++/30534
2
// { dg-do compile }
3
4
template<bool> struct A;
5
6
template<int> void foo()
7
{
8
A<__builtin_constant_p(.)> a; // { dg-error "template argument|invalid" }
9
}