mirror of
https://github.com/llvm/llvm-project.git
synced 2025-05-09 23:06:06 +00:00

Remove -faccess-control from -cc1; add -fno-access-control. Make the driver pass -fno-access-control by default. Update a bunch of tests to be correct under access control. llvm-svn: 100880
12 lines
138 B
C++
12 lines
138 B
C++
// RUN: %clang_cc1 -emit-llvm -o %t %s
|
|
template <typename T>
|
|
class A
|
|
{
|
|
union { void *d; };
|
|
|
|
public:
|
|
A() : d(0) { }
|
|
};
|
|
|
|
A<int> a0;
|