ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
ctor
deferred_resn
demangler
enum
forall-pointer-decay
gc_noraii
jacob/cs343-translation
jenkins-sandbox
memory
new-ast
new-ast-unique-expr
new-env
no_list
persistent-indexer
pthread-emulation
qualifiedEnum
resolv-new
with_gc
|
Last change
on this file since 624aab0 was 624aab0, checked in by Thierry Delisle <tdelisle@…>, 10 years ago |
|
some more bug repros
|
-
Property mode
set to
100644
|
|
File size:
126 bytes
|
| Line | |
|---|
| 1 | forall(otype T)
|
|---|
| 2 | struct wrap
|
|---|
| 3 | {
|
|---|
| 4 | T value;
|
|---|
| 5 | };
|
|---|
| 6 |
|
|---|
| 7 | forall(otype T)
|
|---|
| 8 | static inline wrap(T) test()
|
|---|
| 9 | {
|
|---|
| 10 | wrap(T) tester;
|
|---|
| 11 | return tester;
|
|---|
| 12 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.