Changeset 235114f for src/tests


Ignore:
Timestamp:
Mar 13, 2017, 4:50:15 PM (8 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
88d1066
Parents:
0b465a5
Message:

fix generated function hiding to allow hiding default constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tests/memberCtors.c

    r0b465a5 r235114f  
    3030  WrappedInt x, y, z;
    3131};
     32
     33void ?{}(A * a) {
     34  // currently must define default ctor, since there's no "= default" syntax
     35}
    3236
    3337void ?{}(A * a, int x) {
Note: See TracChangeset for help on using the changeset viewer.