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
* decl.c (make_typename_type): s/parameters/arguments/.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
gen-attrs-33.C
blob
efb2a1ad6d068e3946d519b4e59565cb18f1eab7
1
// PR c++/35546
2
// { dg-do compile { target c++11 } }
3
// { dg-options "-g" }
4
5
template <int N>
6
struct T
7
{
8
void foo [[gnu::format (printf,2,3)]] (char const * ...);
9
};
10
11
template struct T<3>;
12
13
template <typename T>
14
struct U
15
{
16
typedef T V [[gnu::mode (SI)]];
17
};
18
19
U<int>::V v;