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
gcc/cp/
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib33.C
1
// PR c++/35546
2
// { dg-do compile }
3
4
template <int N>
5
struct T
6
{
7
void foo (char const * ...) __attribute__ ((format (printf,2,3)));
8
};
9
10
template struct T<3>;
11
12
template <typename T>
13
struct U
14
{
15
typedef T __attribute__((mode (SI))) V;
16
};
17
18
U<int>::V v;