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
Fix typo in test case
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
inline17.C
blob
f3266ab479d4e47ffa3fa7f50afdeca8bddf36c5
1
// Build don't link:
2
// Origin: Jakub Jelinek <jakub@redhat.com>
3
// Special g++ Options: -O3
4
5
struct foo
6
{
7
char a;
8
foo ();
9
void bar ();
10
void baz (char c);
11
};
12
13
void foo::baz (char c)
14
{
15
if (c != a)
16
a = c;
17
}
18
19
void foo::bar ()
20
{
21
baz (1);
22
}