mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
13 lines
135 B
C++
13 lines
135 B
C++
#include "nscore.h"
|
|
|
|
struct NS_STACK_CLASS A
|
|
{
|
|
};
|
|
|
|
A* tfunc(int len)
|
|
{
|
|
A arr[5];
|
|
A* a = len <= 5 ? arr : new A[len];
|
|
return a;
|
|
}
|