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
[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
attrib33.C
blob
55bfc4cadb86ac1fb7fc14b1f0a90cdffc0063e3
1
// PR c++/35546
2
// { dg-do compile }
3
// { dg-options "-g" }
4
5
template <int N>
6
struct T
7
{
8
void foo (char const * ...) __attribute__ ((format (printf,2,3)));
9
};
10
11
template struct T<3>;
12
13
template <typename T>
14
struct U
15
{
16
typedef T __attribute__((mode (SI))) V;
17
};
18
19
U<int>::V v;