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
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
error1.C
blob
c94fd65d31db9af9cd6537a5490a2d5080d0317e
1
// { dg-do assemble }
2
// Origin: Mark Mitchell <mark@codesourcery.com>
3
4
template <class T>
5
struct S
6
{
7
template <class U>
8
void f ();
9
10
};
11
12
template <class T>
13
template <class U>
14
void S<T>::f ()
15
{
16
U& u; // { dg-error "" } uninitialized reference
17
}
18
19
template void S<int>::f<double>();