[OpenACC] Enable 'attach' clause for combined constructs
[llvm-project.git] / clang / test / Parser / cxx0x-override-control-keywords.cpp
bloba9096af337a2c13771f9a0efb7af2c580bf55002
1 // RUN: %clang_cc1 -fsyntax-only -verify -std=c++11 %s
2 // expected-no-diagnostics
4 struct Base {
5 virtual void override();
6 };
8 struct S : Base {
9 virtual void final() final;
10 virtual void override() override;
13 struct T : Base {
14 virtual void override() override { }
17 struct override;
18 struct Base2 {
19 virtual override override(int override);
22 struct A : Base2 {
23 virtual struct override override(int override) override;