File: output05.cpp

package info (click to toggle)
kelbt 0.12-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,456 kB
  • ctags: 1,986
  • sloc: cpp: 8,015; ansic: 3,331; makefile: 137; sh: 92
file content (19 lines) | stat: -rw-r--r-- 521 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

class [cn C]
{
	class [cn S] { };
	template <{class T}> class [cn Tmpl] { class [cn I] {}; };
};

::[cn C]::[cn Tmpl]<|[cn C]::[cn S]|> $[di foo];

int $[di main]({}) 
{
	i = new (hi) ::[cn C]::[cn Tmpl]<|[cn C]::[cn Tmpl]<|int|>|>::[cn I] [[22.2]];
	i = ::new (this) int;

	laksdjf = delete new int[[22.2]];
	laksdjf = delete[[]] sizeof([cn C]);
	laksdjf = delete[[]] ++sizeof (::new (i--) int <*><&><*>[[i++]][[1.1]](foo,bar)) ;
	laksdjf = delete[[]] ++sizeof (::new (i--) (int (|<*>|)({unsigned, int}))(foo,bar)) ;
}