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
Rebase.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.robertl
/
eb116.C
blob
be5973a52de62be206f3ebfdf39d06be2e262bdd
1
// { dg-do run }
2
template <class INT>
3
class b
4
{
5
private:
6
char a(int x)
7
{
8
union {
9
int i;
10
char c;
11
} val;
12
val.i = x;
13
return val.c;
14
}
15
16
public:
17
b() {
18
}
19
};
20
21
int main() {
22
b<int> n;
23
return 0;
24
}