summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/cpp/new_op.cpp
blob: 828215e85d622b78049d5089e7787868f0788752 (plain)
1
2
3
4
5
6
7
8
9
Foo* foo = new Foo(a,v);

Foo* foo = new(ptr,std::nothrow)Foo[];
Foo* foo = new(ptr)Foo();
Foo* foo = new(FOO(ptr))Foo();

Foo* foo = new  (  ptr,std::nothrow  )  Foo[];
Foo* foo = new  (  ptr  )  Foo();
Foo* foo = new  (  FOO(ptr)  )  Foo();