~ubuntu-branches/ubuntu/vivid/vala/vivid

« back to all changes in this revision

Viewing changes to tests/objects/bug620706.vala

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2010-09-05 10:32:13 UTC
  • mfrom: (1.5.9 upstream) (28.1.2 experimental)
  • Revision ID: james.westby@ubuntu.com-20100905103213-8nn88erk20o4wgm3
Tags: 0.9.8-1
New upstream development release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
class Foo : Object {
 
2
        public Value val { get; set; }
 
3
}
 
4
 
 
5
struct Bar {
 
6
        int dummy;
 
7
}
 
8
 
 
9
void main () {
 
10
        var f = new Foo ();
 
11
        var b = Bar ();
 
12
        f.val = b;
 
13
}