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
Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git]
/
old-autovect-branch
/
gcc
/
testsuite
/
g++.dg
/
compat
/
eh
/
template1_x.C
blob
5a18be789891c2c6fa6cc5fcb3ff3c7b75f33f74
1
extern "C" void exit (int);
2
extern "C" void abort (void);
3
4
#include "template1.h"
5
6
void template1_x ()
7
{
8
int caught = 0;
9
try
10
{
11
C<int> x;
12
x.f();
13
}
14
catch (A)
15
{
16
++caught;
17
}
18
if (caught != 1)
19
abort ();
20
exit (0);
21
}