ADT
aaron-thesis
arm-eh
ast-experimental
cleanup-dtors
deferred_resn
demangler
enum
forall-pointer-decay
jacob/cs343-translation
jenkins-sandbox
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 3eab308c was 9c14ae9, checked in by Rob Schluntz <rschlunt@…>, 9 years ago |
add thesis source
|
-
Property mode
set to
100644
|
File size:
189 bytes
|
Line | |
---|
1 | struct S { int x; };
|
---|
2 |
|
---|
3 | int main() {
|
---|
4 | S s0; // okay
|
---|
5 | {
|
---|
6 | void ?{}(S * s, int i) { s->x = i*2; }
|
---|
7 | void ?{}(S *s) { }
|
---|
8 | // void ^?{}(S *s ) { }
|
---|
9 | S s1; // error
|
---|
10 | }
|
---|
11 | S s2; // okay
|
---|
12 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.