~ubuntu-branches/ubuntu/quantal/aspectc++/quantal

« back to all changes in this revision

Viewing changes to AspectC++/tests/NonInlineIntros/Intro.ah

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2008-04-10 17:40:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20080410174052-xdnsm7oi8hauyyf1
Tags: 1.0pre4~svn.20080409+dfsg-3
Fix another missing include, this time in Ag++/StdSystem.cc

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    ~S1 ();
21
21
    void f ();
22
22
  } IS1;
23
 
  advice dest () : struct { struct Y {}; } IS2, *IS3;
 
23
  //  advice dest () : struct { struct Y {}; } IS2, *IS3; <== invalid C++ code!
 
24
  advice dest () : struct Z { struct Y {}; } IS2, *IS3;
24
25
  typedef int Int;
25
26
  advice dest () : Intro () {}
26
27
  advice dest () : Intro (Intro::Int);