☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
clang
/
test
/
SemaCXX
/
PR49534.cpp
☽
☼
clang/test/SemaCXX/PR49534.cpp
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
// RUN: %clang_cc1 -x c++ -fsyntax-only %s -verify
2
3
static union { // expected-warning {{declaration does not declare anything}}
4
virtual int a(); // expected-error {{unions cannot have virtual functions}}
5
};