Skip to content

Commit

Permalink
Move OldTerseWrite.thrift to thrift/lib/cpp2/patch/test
Browse files Browse the repository at this point in the history
Summary: So that it can be re-used in DiffVisitor

Reviewed By: thedavekwon

Differential Revision: D68467643

fbshipit-source-id: 85385ac0c3c6e72c38cf2b49863fa625489b3c85
  • Loading branch information
TJ Yin authored and facebook-github-bot committed Jan 22, 2025
1 parent 4e7c76d commit 066d908
Showing 1 changed file with 25 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package "apache.org/thrift/test"

struct Foo {
1: string bar;
}

struct FooWithDef {
1: i32 bar = 100;
}

0 comments on commit 066d908

Please sign in to comment.