summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/c-linkage.cpp
blob: b1f07b7b75621f9ffd3f6818b7365632b1aa7520 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
// pr6644

extern "C" {
  namespace N {
    struct X { 
      virtual void f();
    };
    void X::f() { }
  }
}

// CHECK: define void @_ZN1N1X1fEv