Referring back to the original commit (r115090) which was a frontend only test
I adjusted this test to verify the frontend change that was made, to emit the
protected access value in the flags metadata field.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@171604
91177308-0d34-0410-b5e6-
96231b3b80d8
-// RUN: %clang -fverbose-asm -g -S %s -o - | FileCheck %s
-// CHECK: DW_ACCESS_protected
+// RUN: %clang_cc1 -emit-llvm -g %s -o - | FileCheck %s
+// CHECK: metadata !"_ZN1A3fooEv", {{.*}}, i32 258
class A {
protected:
int foo();