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++/36628
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
vt-34919.C
1
// { dg-options "-std=c++0x" }
2
template<int... N> struct A
3
{
4
static void foo()
5
{
6
int i = N; // { dg-error "not expanded|N" }
7
}
8
};
9
10
void bar()
11
{
12
A<0>::foo();
13
}