[go: nahoru, domu]

blob: ec194fec1a873cedc829730c802f0bda78d960ae [file] [log] [blame]
Peter Kastinga4284ca2024-01-29 22:30:071// Copyright 2024 The Chromium Authors
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5// This is a "No Compile Test" suite.
6// http://dev.chromium.org/developers/testing/no-compile-tests
7
8#include "ui/views/view.h"
9
10namespace views {
11
12struct SyncLayout : public View {
13 void DoSomething() {
14 LayoutImmediately(); // expected-error {{'LayoutImmediately' is a private member}}
15 }
16};
17
18} // namespace views