ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumresolv-newwith_gc
Last change
on this file since 604e76d was
728df66,
checked in by Peter A. Buhr <pabuhr@…>, 7 years ago
|
more documentation name changes
|
-
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.