summaryrefslogtreecommitdiff
path: root/cpp/test/Slice/errorDetection/DuplicateParameter.ice
blob: f082cfcb8bbe6976140732bcaec228c19fd999e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// **********************************************************************
//
// Copyright (c) 2001
// MutableRealms, Inc.
// Huntsville, AL, USA
//
// All Rights Reserved
//
// **********************************************************************

class Foo
{
    string bar1(string s, int s);
    string bar2(string s; int s);
    string bar3(; string s, int s);
    string bar4(string s, int i; int i);
};

interface IFoo
{
    string bar1(string s, int s);
    string bar2(string s; int s);
    string bar3(; string s, int s);
    string bar4(string s, int i; int i);
};