[ create a new paste ] login | about

Link: http://codepad.org/T9zkz2Dn    [ raw code | output | fork ]

C++, pasted on Aug 1:
1
2
3
4
5
6
7
8
9
10
11
12
struct S
{
  S () {};
};


int
main ()
{
  S s;
  s.S::S ();
}


Output:
1
2
3
In function 'int main()':
Line 11: error: invalid use of 'struct S'
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: