infer_clone/infer/tests/codetoanalyze/objcpp/linters-for-test-only/BadRegexInPointNameForPerfL...

20 lines
484 B

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#import <Foundation/Foundation.h>
#include "One.h"
@interface BadRegexInPointNameForPerfLogging : NSObject
void testRegexSafe();
@end
@implementation BadRegexInPointNameForPerfLogging
void testRegexSafe() {
std::shared_ptr<One> one = std::make_shared<One>();
one->test(1, "Sample");
}
@end